OpenRTM-aist-Python 2.0.2
|
TimeMeasure object [詳解]
クラス | |
class | Statistics |
公開メンバ関数 | |
__init__ (self, buflen=100) | |
Time statictics object for profiling. | |
tick (self) | |
Begin time measurement for time statistics. | |
tack (self) | |
Finish time measurement for time statistics. | |
count (self) | |
Get number of time measurement buffer | |
getStatistics (self, max_interval=None, min_interval=None, mean_interval=None, stddev=None) | |
Get total statistics. | |
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.
OpenRTM_aist.TimeMeasure.TimeMeasure.__init__ | ( | self, | |
buflen = 100 ) |
Time statictics object for profiling.
Constructor
OpenRTM_aist.TimeMeasure.TimeMeasure.count | ( | self | ) |
Get number of time measurement buffer
Get number of time measurement buffer.
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]
OpenRTM_aist.TimeMeasure.TimeMeasure.tack | ( | self | ) |
Finish time measurement for time statistics.
End of time measurement for time statistics
OpenRTM_aist.TimeMeasure.TimeMeasure.tick | ( | self | ) |
Begin time measurement for time statistics.
Begin time measurement for time statistics