MainLoopProfilingSampler implements profiling sampler for MainLoopProfiler. More...
#include <kanzi/core.ui/main_loop/main_loop_profiler.hpp>
Public Member Functions | |
MainLoopProfilingSampleData | getSampleData () const |
Creates an instance of MainLoopProfilingSampleData filled with data provided to the sampler. More... | |
MainLoopProfilingSampler (MainLoopProfilingScopeToken token, uint64_t frameNumber) | |
Constructor. More... | |
Public Member Functions inherited from kanzi::IntervalProfilingSampler | |
IntervalProfilerSampleData | getSampleData () |
Returns IntervalProfilerSampleData sample including interval measurement data. More... | |
void | start () |
Starts measuring time interval duration. More... | |
void | stop () |
Finishes measuring time interval duration. More... | |
Additional Inherited Members | |
Protected Attributes inherited from kanzi::IntervalProfilingSampler | |
TimePoint | m_endTimePoint |
The point in time when interval measurement finished. More... | |
TimePoint | m_startTimePoint |
The point in time when interval measurement started. More... | |
MainLoopProfilingSampler implements profiling sampler for MainLoopProfiler.
|
inlineexplicit |
Constructor.
token | Token of the profiled scope. See MainLoopProfiler::registerScope. |
frameNumber | Frame number of the sample in the main loop. |
MainLoopProfilingSampleData kanzi::MainLoopProfilingSampler::getSampleData | ( | ) | const |
Creates an instance of MainLoopProfilingSampleData filled with data provided to the sampler.