#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] ============================================================. |
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.
|
Time statictics object for profiling. ============================================================. ============================================================ Constructor |
|
Get number of time measurement buffer. ============================================================. ============================================================ Get number of time measurement buffer |
|
Get high resolution time of ns ============================================================. ============================================================ Get high resolution time |
|
Get total statistics. ============================================================. ============================================================ Get total statistics |
|
Get system's cpu clock frequency [Hz] ============================================================. ============================================================ Get system's cpu clock frequency [Hz] |
|
Finish time measurement for time statistics. ============================================================. ============================================================ End of time measurement for time statistics |
|
Begin time measurement for time statistics. ============================================================. ============================================================ Begin time measurement for time statistics |