$darkmode
Suckless OGL
1.0.0
A lean, high-performance C11 PBR Renderer
Back to Docs
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
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 */
app_metrics_log_gpu_stats
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
gpu_profiler.h
GPUProfiler
Manages GPU timing using double-buffered queries to avoid stalls.
Definition:
gpu_profiler.h:86
include
app_metrics.h
Generated by
1.9.1