Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Attributes | List of all members
Olympe::NodeExecutionMetrics Struct Reference

Accumulated per-node execution statistics. More...

#include <PerformanceProfiler.h>

Public Attributes

int nodeID = -1
 
std::string nodeName
 
float executionTimeMs = 0.0f
 Last recorded execution time (ms)
 
uint64_t executionCount = 0
 Total number of executions.
 
float avgTimeMs = 0.0f
 Running average execution time (ms)
 
float maxTimeMs = 0.0f
 Maximum observed execution time (ms)
 
float totalTimeMs = 0.0f
 Total accumulated time (ms)
 

Detailed Description

Accumulated per-node execution statistics.

Definition at line 34 of file PerformanceProfiler.h.

Member Data Documentation

◆ avgTimeMs

float Olympe::NodeExecutionMetrics::avgTimeMs = 0.0f

Running average execution time (ms)

Definition at line 39 of file PerformanceProfiler.h.

Referenced by Olympe::ProfilerPanel::RenderHotspotTable(), and Olympe::DebugPanel::RenderProfilerSummary().

◆ executionCount

uint64_t Olympe::NodeExecutionMetrics::executionCount = 0

Total number of executions.

Definition at line 38 of file PerformanceProfiler.h.

◆ executionTimeMs

float Olympe::NodeExecutionMetrics::executionTimeMs = 0.0f

Last recorded execution time (ms)

Definition at line 37 of file PerformanceProfiler.h.

◆ maxTimeMs

float Olympe::NodeExecutionMetrics::maxTimeMs = 0.0f

Maximum observed execution time (ms)

Definition at line 40 of file PerformanceProfiler.h.

◆ nodeID

int Olympe::NodeExecutionMetrics::nodeID = -1

◆ nodeName

std::string Olympe::NodeExecutionMetrics::nodeName

Definition at line 36 of file PerformanceProfiler.h.

◆ totalTimeMs

float Olympe::NodeExecutionMetrics::totalTimeMs = 0.0f

Total accumulated time (ms)

Definition at line 41 of file PerformanceProfiler.h.


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