| Modifier and Type | Field and Description | 
|---|---|
| double | avgInvocationTimeInMsAverage time of a single invocation in ms. | 
| long | elapsedTimeInMsElapsed time in ms. | 
| String | humanReadableAvgInvocationTimeAverage time of a single invocation in human readable format. | 
| String | humanReadableElapsedTimeElapsed time in human readable format. | 
| String | humanReadableInvocationCountInvocation count in human readable format. | 
| long | invocationCountInvocation count. | 
| String | nameAssociated name. | 
| long | startTimeStart time from  System.currentTimeMillis(). | 
| long | stopTimeStop time from  System.currentTimeMillis(). | 
| Constructor and Description | 
|---|
| TimerStatistics(String name,
               long startTime,
               long stopTime,
               long invocationCount)Construct. | 
public String name
public long startTime
System.currentTimeMillis().public long stopTime
System.currentTimeMillis().public long elapsedTimeInMs
public String humanReadableElapsedTime
public long invocationCount
public String humanReadableInvocationCount
public double avgInvocationTimeInMs
invocationCount is 0 value is set to elapsedTimeInMs.public String humanReadableAvgInvocationTime
invocationCount is 0 value is set to humanReadableElapsedTime.public TimerStatistics(String name, long startTime, long stopTime, long invocationCount)
name - Associated namestartTime - Start timestopTime - Stop timeinvocationCount - Invocation count. When zero avg invocation time is the elapsed time