The main loop task profiling sampler collects interval measurement to produce IntervalProfilerSampleData sample.
More...
#include <kanzi/core/profiling/interval_profiler_sample.hpp>
|
chrono::high_resolution_clock::time_point | m_startTimePoint |
| The point in time when interval measurement started. More...
|
|
chrono::high_resolution_clock::time_point | m_endTimePoint |
| The point in time when interval measurement finished. More...
|
|
The main loop task profiling sampler collects interval measurement to produce IntervalProfilerSampleData sample.
The ProfilingScopeHelper uses sampler class to measure time spent executing scope which is profiled.
For information on how the sampler is used in scope profiling, See ProfilingScopeHelper.
void kanzi::IntervalProfilingSampler::start |
( |
| ) |
|
|
inline |
Starts measuring time interval duration.
void kanzi::IntervalProfilingSampler::stop |
( |
| ) |
|
|
inline |
Finishes measuring time interval duration.
chrono::high_resolution_clock::time_point kanzi::IntervalProfilingSampler::m_startTimePoint |
|
protected |
The point in time when interval measurement started.
chrono::high_resolution_clock::time_point kanzi::IntervalProfilingSampler::m_endTimePoint |
|
protected |
The point in time when interval measurement finished.
The documentation for this class was generated from the following file: