$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
EffectBenchmark Struct Reference

State for the automated benchmark sweep. More...

#include <effect_benchmark.h>

Collaboration diagram for EffectBenchmark:
[legend]

Data Fields

BenchPhase phase
 
PostProcesspostprocess
 
GPUProfilerprofiler
 
unsigned int saved_effects
 
unsigned int benchmark_effects
 
struct {
   const char *   name
 
   unsigned int   bit
 
effects [16]
 
int effect_count
 
int current_effect_idx
 
int frame_counter
 
float timeout_timer
 
double sum_ms
 
double sum_sq_ms
 
int sample_count
 
float baseline_mean_ms
 
float baseline_stddev_ms
 
EffectBenchResult results [16]
 
int result_count
 

Detailed Description

State for the automated benchmark sweep.

Field Documentation

◆ baseline_mean_ms

float EffectBenchmark::baseline_mean_ms

◆ baseline_stddev_ms

float EffectBenchmark::baseline_stddev_ms

◆ benchmark_effects

unsigned int EffectBenchmark::benchmark_effects

◆ bit

unsigned int EffectBenchmark::bit

◆ current_effect_idx

int EffectBenchmark::current_effect_idx

-1 = baseline, 0..N = effect test.

◆ effect_count

int EffectBenchmark::effect_count

◆ 

struct { ... } EffectBenchmark::effects[ 16 ]

◆ frame_counter

int EffectBenchmark::frame_counter

Frames elapsed in current phase.

◆ name

const char* EffectBenchmark::name

◆ phase

BenchPhase EffectBenchmark::phase

◆ postprocess

PostProcess* EffectBenchmark::postprocess

◆ profiler

GPUProfiler* EffectBenchmark::profiler

◆ result_count

int EffectBenchmark::result_count

◆ results

EffectBenchResult EffectBenchmark::results[16]

◆ sample_count

int EffectBenchmark::sample_count

◆ saved_effects

unsigned int EffectBenchmark::saved_effects

◆ sum_ms

double EffectBenchmark::sum_ms

◆ sum_sq_ms

double EffectBenchmark::sum_sq_ms

◆ timeout_timer

float EffectBenchmark::timeout_timer

Ms elapsed since last valid profile data.


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