The main loop task profiling sampler collects interval measurement to produce IntervalProfilerSampleData sample.
More...
#include <kanzi/core/profiling/interval_profiler_sample.hpp>
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.
◆ start()
void kanzi::IntervalProfilingSampler::start |
( |
| ) |
|
|
inline |
Starts measuring time interval duration.
◆ stop()
void kanzi::IntervalProfilingSampler::stop |
( |
| ) |
|
|
inline |
Finishes measuring time interval duration.
◆ getSampleData()
◆ m_startTimePoint
TimePoint kanzi::IntervalProfilingSampler::m_startTimePoint |
|
protected |
The point in time when interval measurement started.
◆ m_endTimePoint
TimePoint kanzi::IntervalProfilingSampler::m_endTimePoint |
|
protected |
The point in time when interval measurement finished.
The documentation for this class was generated from the following file: