$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
app_metrics.h
Go to the documentation of this file.
1 #ifndef APP_METRICS_H
2 #define APP_METRICS_H
3 
4 #include "gpu_profiler.h"
5 
20 bool app_metrics_log_gpu_stats(GPUProfiler* profiler, double current_time,
21  bool should_log);
22 
23 #endif /* APP_METRICS_H */
bool app_metrics_log_gpu_stats(GPUProfiler *profiler, double current_time, bool should_log)
Logs GPU performance statistics if the reporting window for any stage has elapsed.
Definition: app_metrics.c:240
Manages GPU timing using double-buffered queries to avoid stalls.
Definition: gpu_profiler.h:86