Struct Profiler::ProfilerData

Nested Relationships

This struct is a nested type of Class Profiler.

Struct Documentation

struct ProfilerData

Stores profile information.

Public Functions

inline ProfilerData()
inline explicit ProfilerData(const char *name)
inline void reset()

Resets the long term profile storage information.

Public Members

const char *name = nullptr

Name of the profile.

uint32_t min = UINT32_MAX

Min value, in microseconds, ever recorded by the profiler.

uint32_t max = 0

Max value, in microseconds, ever recorded by the profiler.

float avg = 0

Average value, in microseconds, averaged using a low pass filter.

uint32_t prevPushedTime = 0

Value used to measure a “dt” between pushing and popping the profile from the profiler.