TimeMeasure object. More...
Classes | |
class | Statistics |
Public Member Functions | |
def | __init__ |
Time statictics object for profiling. | |
def | count |
def | getStatistics |
Get total statistics. | |
def | interval |
def | reset |
def | tack |
Finish time measurement for time statistics. | |
def | tick |
Begin time measurement for time statistics. | |
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.
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 208 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.
Definition at line 143 of file TimeMeasure.py.
Definition at line 143 of file TimeMeasure.py.
Definition at line 143 of file TimeMeasure.py.
Definition at line 143 of file TimeMeasure.py.
Definition at line 143 of file TimeMeasure.py.
Definition at line 143 of file TimeMeasure.py.
Definition at line 143 of file TimeMeasure.py.