TimeMeasure object. More...
Classes | |
class | Statistics |
Public Member Functions | |
def | __init__ (self, buflen=100) |
Time statictics object for profiling. More... | |
def | count (self) |
Get number of time measurement buffer. More... | |
def | getStatistics (self, max_interval=None, min_interval=None, mean_interval=None, stddev=None) |
Get total statistics. More... | |
def | interval (self) |
def | reset (self) |
def | tack (self) |
Finish time measurement for time statistics. More... | |
def | tick (self) |
Begin time measurement for time statistics. More... | |
Private Attributes | |
_begin | |
_count | |
_countMax | |
_end | |
_interval | |
_record | |
_recurred | |
TimeMeasure object.
This object 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.
Definition at line 134 of file TimeMeasure.py.
def OpenRTM_aist.TimeMeasure.TimeMeasure.__init__ | ( | self, | |
buflen = 100 |
|||
) |
def OpenRTM_aist.TimeMeasure.TimeMeasure.count | ( | self | ) |
Get number of time measurement buffer.
Get number of time measurement buffer.
Definition at line 196 of file TimeMeasure.py.
def OpenRTM_aist.TimeMeasure.TimeMeasure.getStatistics | ( | self, | |
max_interval = None , |
|||
min_interval = None , |
|||
mean_interval = None , |
|||
stddev = None |
|||
) |
Get total statistics.
Get total statistics max_interval, min_interval, mean_interval [ns]
Definition at line 209 of file TimeMeasure.py.
def OpenRTM_aist.TimeMeasure.TimeMeasure.interval | ( | self | ) |
Definition at line 180 of file TimeMeasure.py.
def OpenRTM_aist.TimeMeasure.TimeMeasure.reset | ( | self | ) |
Definition at line 184 of file TimeMeasure.py.
def OpenRTM_aist.TimeMeasure.TimeMeasure.tack | ( | self | ) |
Finish time measurement for time statistics.
End of time measurement for time statistics
Definition at line 167 of file TimeMeasure.py.
def OpenRTM_aist.TimeMeasure.TimeMeasure.tick | ( | self | ) |
Begin time measurement for time statistics.
Begin time measurement for time statistics
Definition at line 158 of file TimeMeasure.py.
|
private |
Definition at line 146 of file TimeMeasure.py.
|
private |
Definition at line 148 of file TimeMeasure.py.
|
private |
Definition at line 144 of file TimeMeasure.py.
|
private |
Definition at line 147 of file TimeMeasure.py.
|
private |
Definition at line 150 of file TimeMeasure.py.
|
private |
Definition at line 145 of file TimeMeasure.py.
|
private |
Definition at line 149 of file TimeMeasure.py.