メインページ | ネームスペース一覧 | クラス階層 | 構成 | ファイル一覧 | ネームスペースメンバ | 構成メンバ | ファイルメンバ

クラス RTM::TimeStatistics

#include <RtcTimeStatistics.h>

すべてのメンバ一覧

Public メソッド

 TimeStatistics (int buflen=100)
 Time statictics object for profiling. ============================================================.

void tick ()
 Begin time measurement for time statistics. ============================================================.

void tack ()
 Finish time measurement for time statistics. ============================================================.

int get_count () const
 Get number of time measurement buffer. ============================================================.

void get_stat (unsigned long long &max_interval, unsigned long long &min_interval, double &mean_interval, double &stddev)
 Get total statistics. ============================================================.

unsigned long long get_hrtime ()
 Get high resolution time of ns ============================================================.

unsigned long long get_system_clock ()
 Get system's cpu clock frequency [Hz] ============================================================.


説明

TimeStatistics 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.


コンストラクタとデストラクタ

RTM::TimeStatistics::TimeStatistics int  buflen = 100  ) 
 

Time statictics object for profiling. ============================================================.

============================================================ Constructor


関数

int RTM::TimeStatistics::get_count  )  const [inline]
 

Get number of time measurement buffer. ============================================================.

============================================================ Get number of time measurement buffer

unsigned long long RTM::TimeStatistics::get_hrtime  ) 
 

Get high resolution time of ns ============================================================.

============================================================ Get high resolution time

void RTM::TimeStatistics::get_stat unsigned long long &  max_interval,
unsigned long long &  min_interval,
double &  mean_interval,
double &  stddev
 

Get total statistics. ============================================================.

============================================================ Get total statistics

unsigned long long RTM::TimeStatistics::get_system_clock  ) 
 

Get system's cpu clock frequency [Hz] ============================================================.

============================================================ Get system's cpu clock frequency [Hz]

void RTM::TimeStatistics::tack  ) 
 

Finish time measurement for time statistics. ============================================================.

============================================================ End of time measurement for time statistics

void RTM::TimeStatistics::tick  ) 
 

Begin time measurement for time statistics. ============================================================.

============================================================ Begin time measurement for time statistics


このクラスの説明は次のファイルから生成されました:
OpenRTMに対してWed Apr 6 14:22:13 2005に生成されました。 doxygen 1.3.6