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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(TimeTracker track) longfillTime()Total amount of time spent in all threads for this Execution while fetching document contents, or preparing to fetch them.longfirst()Time stamp of start of the first event registered, or 0 if none are regiustered.longThe time of the start of the first document fill requested.booleanlonglast()Time stamp of the end the last event registered.voidmerge(ElapsedTime other) longpingTime()Total amount of time spent in all threads for this Execution while pinging, or preparing to ping, a backend.longTotal amount of time spent in all threads for this Execution while searching or waiting for (a) backend(s) doing (a) search(es).longTotal amount of time spent for this ElapsedTime instance.longGive an estimate on how much of the time tracked by this instance was used fetching document contents.longGive a relative estimate on how much of the time tracked by this instance was used pinging backends.longGive 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, or 0 if none are regiustered. -
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
-