Kanzi  3.9.4
Kanzi Engine API
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. More...
 
- Public Member Functions inherited from kanzi::IntervalProfilerSampleData
 IntervalProfilerSampleData (TimePoint startTimePoint, chrono::nanoseconds duration)
 Constructor. More...
 

Public Attributes

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

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: