public static class Instrumentation.Timer extends Object implements Instrumentation.Element<Instrumentation.Timer>
Modifier and Type | Method and Description |
---|---|
long |
getOwn()
Return the own accumulated computing time by the timer.
|
long |
getOwnAvg()
Returns the own average time.
|
long |
getOwnMax()
Returns the own maximum time.
|
long |
getOwnMin()
Returns the own minimum time.
|
long |
getOwnSquareSum()
Return the sum of the square own times.
|
double |
getOwnStdDev()
Returns the own time standard deviation.
|
long |
getTicks()
Return the number of times a cron was added to the timer.
|
long |
getTotal()
Return the total accumulated computing time by the timer.
|
long |
getTotalAvg()
Returns the total average time.
|
long |
getTotalMax()
Returns the total maximum time.
|
long |
getTotalMin()
Returns the total minimum time.
|
long |
getTotalSquareSum()
Return the sum of the square total times.
|
double |
getTotalStdDev()
Returns the total time standard deviation.
|
Instrumentation.Timer |
getValue()
Return the timer snapshot.
|
String |
toString()
Return the String representation of the timer value.
|
public Instrumentation.Timer getValue()
getValue
in interface Instrumentation.Element<Instrumentation.Timer>
public long getOwn()
public long getTotal()
public long getTicks()
public long getOwnSquareSum()
It can be used to calculate the standard deviation.
public long getTotalSquareSum()
It can be used to calculate the standard deviation.
public long getOwnMin()
public long getOwnMax()
public long getTotalMin()
public long getTotalMax()
public long getOwnAvg()
public long getTotalAvg()
public double getTotalStdDev()
public double getOwnStdDev()
Copyright © 2018 Apache Software Foundation. All rights reserved.