Kanzi 3.9.10
kanzi::MainLoopProfilingSampleData Struct Reference

MainLoopProfilingSampleData implements profiling sample data for MainLoopProfiler. More...

#include <kanzi/core.ui/main_loop/main_loop_profiler.hpp>

Inheritance diagram for kanzi::MainLoopProfilingSampleData:
[legend]

Public Member Functions

 MainLoopProfilingSampleData (TimePoint startPoint, chrono::nanoseconds timeSpent, const char *name, uint64_t frameNumber)
 Constructor.
 
- Public Member Functions inherited from kanzi::IntervalProfilerSampleData
 IntervalProfilerSampleData (TimePoint startTimePoint, chrono::nanoseconds duration)
 Constructor.
 

Public Attributes

uint64_t m_frameNumber
 Frame number of the sample in the main loop.
 
const charm_name
 Name of the profiled scope.
 
- Public Attributes inherited from kanzi::IntervalProfilerSampleData
chrono::nanoseconds m_duration
 The duration of the interval.
 
TimePoint m_startTimePoint
 The point in time when interval measurement started.
 

Detailed Description

MainLoopProfilingSampleData implements profiling sample data for MainLoopProfiler.

Constructor & Destructor Documentation

◆ MainLoopProfilingSampleData()

kanzi::MainLoopProfilingSampleData::MainLoopProfilingSampleData ( TimePoint startPoint,
chrono::nanoseconds timeSpent,
const char * name,
uint64_t frameNumber )
inlineexplicit

Constructor.

Parameters
startPointThe point in time when measurement started.
timeSpentThe interval duration.
nameName of the profiled scope.
frameNumberFrame number of the sample in the main loop.

Member Data Documentation

◆ m_name

const char* kanzi::MainLoopProfilingSampleData::m_name

Name of the profiled scope.

◆ m_frameNumber

uint64_t kanzi::MainLoopProfilingSampleData::m_frameNumber

Frame number of the sample in the main loop.


The documentation for this struct was generated from the following file: