Package com.yahoo.search.statistics
Class ElapsedTime
java.lang.Object
com.yahoo.search.statistics.ElapsedTime
A collection of TimeTracker instances.
- Author:
- Steinar Knutsen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(TimeTracker track) long
fillTime()
Total amount of time spent in all threads for this Execution while fetching document contents, or preparing to fetch them.long
first()
Time stamp of start of the first event registered.long
The time of the start of the first document fill requested.boolean
long
last()
Time stamp of the end the last event registered.void
merge
(ElapsedTime other) long
pingTime()
Total amount of time spent in all threads for this Execution while pinging, or preparing to ping, a backend.long
Total amount of time spent in all threads for this Execution while searching or waiting for (a) backend(s) doing (a) search(es).long
Total amount of time spent for this ElapsedTime instance.long
Give an estimate on how much of the time tracked by this instance was used fetching document contents.long
Give a relative estimate on how much of the time tracked by this instance was used pinging backends.long
Give a relative estimate on how much of the time tracked by this instance was used searching.
-
Constructor Details
-
ElapsedTime
public ElapsedTime()
-
-
Method Details
-
add
-
weightedFillTime
public long weightedFillTime()Give an estimate on how much of the time tracked by this instance was used fetching document contents. This will by definition be smaller than last() - first(). -
fillTime
public long fillTime()Total amount of time spent in all threads for this Execution while fetching document contents, or preparing to fetch them. -
totalTime
public long totalTime()Total amount of time spent for this ElapsedTime instance. -
weightedSearchTime
public long weightedSearchTime()Give a relative estimate on how much of the time tracked by this instance was used searching. This will by definition be smaller than last() - first(). -
searchTime
public long searchTime()Total amount of time spent in all threads for this Execution while searching or waiting for (a) backend(s) doing (a) search(es). -
pingTime
public long pingTime()Total amount of time spent in all threads for this Execution while pinging, or preparing to ping, a backend. -
weightedPingTime
public long weightedPingTime()Give a relative estimate on how much of the time tracked by this instance was used pinging backends. This will by definition be smaller than last() - first(). -
first
public long first()Time stamp of start of the first event registered. -
last
public long last()Time stamp of the end the last event registered. -
merge
-
firstFill
public long firstFill()The time of the start of the first document fill requested. -
hasDetailedData
public boolean hasDetailedData() -
detailedReport
-