Classes | Public Member Functions | Private Attributes | List of all members
OpenRTM_aist.TimeMeasure.TimeMeasure Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

def OpenRTM_aist.TimeMeasure.TimeMeasure.__init__ (   self,
  buflen = 100 
)

Time statictics object for profiling.

Constructor

Definition at line 143 of file TimeMeasure.py.

Member Function Documentation

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.

Member Data Documentation

OpenRTM_aist.TimeMeasure.TimeMeasure._begin
private

Definition at line 146 of file TimeMeasure.py.

OpenRTM_aist.TimeMeasure.TimeMeasure._count
private

Definition at line 148 of file TimeMeasure.py.

OpenRTM_aist.TimeMeasure.TimeMeasure._countMax
private

Definition at line 144 of file TimeMeasure.py.

OpenRTM_aist.TimeMeasure.TimeMeasure._end
private

Definition at line 147 of file TimeMeasure.py.

OpenRTM_aist.TimeMeasure.TimeMeasure._interval
private

Definition at line 150 of file TimeMeasure.py.

OpenRTM_aist.TimeMeasure.TimeMeasure._record
private

Definition at line 145 of file TimeMeasure.py.

OpenRTM_aist.TimeMeasure.TimeMeasure._recurred
private

Definition at line 149 of file TimeMeasure.py.


The documentation for this class was generated from the following file:


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Thu Jun 6 2019 19:11:38