public static class Microtiming.Timing extends Object
Modifier and Type | Field and Description |
---|---|
protected Average |
avg |
protected String |
category |
protected boolean |
changedSinceLastCheck |
protected String |
key |
Modifier | Constructor and Description |
---|---|
protected |
Timing(String category,
String key) |
Modifier and Type | Method and Description |
---|---|
protected void |
addNanos(long durationInNanos) |
Average |
getAvg()
Returns the average duration and number of occurrences of the key.
|
String |
getCategory()
Returns the category of the timing
|
String |
getKey()
Returns the key of the timing
|
protected boolean |
readAndUnmark() |
protected String category
protected String key
protected Average avg
protected volatile boolean changedSinceLastCheck
public String getCategory()
public String getKey()
public Average getAvg()
Average
associated with the keyprotected boolean readAndUnmark()
protected void addNanos(long durationInNanos)
Copyright © 2018. All rights reserved.