Measurement
- class Measurement implements Serializable
The measurement of e.g. a certain action, possibly over multiple runs. A Measurement keeps track of how often the action was measured, and what the total and averaged spent time is. One Measurement object knows nothing about other Measurement objects.
Constructors
Measurement
Methods
add
- public void add(long time, int count)
getAccTime
- public long getAccTime()
getAvg
- public double getAvg()
getCount
- public int getCount()
getName
toStringBuilder
- public StringBuilder toStringBuilder()