yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::gfx::PerformanceProfiler::TimingStats Struct Reference

Get timing statistics for an operation. More...

#include <performance_profiler.h>

Public Attributes

double min_time_us = 0.0
 
double max_time_us = 0.0
 
double avg_time_us = 0.0
 
double median_time_us = 0.0
 
double total_time_ms = 0.0
 
size_t sample_count = 0
 

Detailed Description

Get timing statistics for an operation.

Parameters
operation_nameName of the operation
Returns
Statistics struct with timing data

Definition at line 92 of file performance_profiler.h.

Member Data Documentation

◆ min_time_us

double yaze::gfx::PerformanceProfiler::TimingStats::min_time_us = 0.0

Definition at line 93 of file performance_profiler.h.

Referenced by yaze::gfx::PerformanceProfiler::GetStats().

◆ max_time_us

double yaze::gfx::PerformanceProfiler::TimingStats::max_time_us = 0.0

Definition at line 94 of file performance_profiler.h.

Referenced by yaze::gfx::PerformanceProfiler::GetStats().

◆ avg_time_us

double yaze::gfx::PerformanceProfiler::TimingStats::avg_time_us = 0.0

Definition at line 95 of file performance_profiler.h.

Referenced by yaze::gfx::PerformanceProfiler::GetStats().

◆ median_time_us

double yaze::gfx::PerformanceProfiler::TimingStats::median_time_us = 0.0

Definition at line 96 of file performance_profiler.h.

Referenced by yaze::gfx::PerformanceProfiler::GetStats().

◆ total_time_ms

double yaze::gfx::PerformanceProfiler::TimingStats::total_time_ms = 0.0

Definition at line 97 of file performance_profiler.h.

Referenced by yaze::gfx::PerformanceProfiler::GetStats().

◆ sample_count

size_t yaze::gfx::PerformanceProfiler::TimingStats::sample_count = 0

Definition at line 98 of file performance_profiler.h.

Referenced by yaze::gfx::PerformanceProfiler::GetStats().


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