|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjp.go.aist.rtm.RTC.TimeMeasure
public class TimeMeasure
TimeMeasure class
This class is used for getting statistics of code execution time. Using get_stat you can get maximum, minimum, mean and standard deviation time for code execution.
| Nested Class Summary | |
|---|---|
class |
TimeMeasure.Statistics
Class for time statistics |
| Constructor Summary | |
|---|---|
TimeMeasure()
Constructor |
|
TimeMeasure(int buflen)
Constructor |
|
| Method Summary | |
|---|---|
int |
count()
Get number of time measurement buffer |
TimeMeasure.Statistics |
createStatistics()
Creation of Statistics class. |
TimeMeasure.Statistics |
getStatistics()
Get statistics result |
boolean |
getStatistics(TimeMeasure.Statistics s)
Get total statistics |
TimeValue |
interval()
Get a interval time |
void |
reset()
Initialize for statistics related data |
void |
tack()
Finish time measurement for time statistics |
void |
tick()
Begin time measurement for time statistics. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeMeasure(int buflen)
Time Statistics object for profiling.
public TimeMeasure()
Time Statistics object for profiling.
| Method Detail |
|---|
public void tick()
public void tack()
End of time measurement for time statistics.
public TimeValue interval()
public void reset()
public int count()
public boolean getStatistics(TimeMeasure.Statistics s)
s -
Statistics Class
public TimeMeasure.Statistics getStatistics()
public TimeMeasure.Statistics createStatistics()
Creates Statistics class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||