public class TimedTracker extends Object
| Constructor and Description |
|---|
TimedTracker() |
| Modifier and Type | Method and Description |
|---|---|
long |
beginTracking()
Begin tracking an execution time.
|
void |
endTracking(long trackingToken,
PacketType type)
Stop and record the execution time since the creation of the given tracking token.
|
int |
getObservations()
Retrieve the total number of observations.
|
Map<PacketType,StatisticsStream> |
getStatistics()
Retrieve an map (indexed by packet type) of all relevant statistics.
|
public long beginTracking()
public void endTracking(long trackingToken,
PacketType type)
trackingToken - - the tracking token.type - - the packet type.public int getObservations()
public Map<PacketType,StatisticsStream> getStatistics()
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.