$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
app_profiling.h
Go to the documentation of this file.
1 #ifndef APP_PROFILING_H
2 #define APP_PROFILING_H
3 
13 #include "fps.h"
14 #include "gpu_profiler.h"
15 #include "gpu_profiler_ui.h"
16 #include "gpu_usage.h"
17 #include "perf_mode.h"
18 #include "tracy_manager.h"
19 
24 typedef struct AppProfiling {
33 } AppProfiling;
34 
41 void app_profiling_init(AppProfiling* prof, int width, int height);
42 
48 
49 #endif /* APP_PROFILING_H */
void app_profiling_init(AppProfiling *prof, int width, int height)
Initialize all profiling sub-systems to default state.
Definition: app_profiling.c:5
void app_profiling_cleanup(AppProfiling *prof)
Release all profiling resources in reverse init order.
Definition: app_profiling.c:17
Runtime performance optimization module.
Profiling, metrics, and performance monitoring grouped together.
Definition: app_profiling.h:24
TracyManager tracy_mgr
Definition: app_profiling.h:28
GPUUsageMonitor gpu_usage
Definition: app_profiling.h:29
FpsCounter fps_counter
Definition: app_profiling.h:25
int log_gpu_metrics
Definition: app_profiling.h:32
GPUProfilerUI timeline_ui
Definition: app_profiling.h:27
PerfModeContext perf_context
Definition: app_profiling.h:30
GPUProfiler gpu_profiler
Definition: app_profiling.h:26
int perf_mode_active
Definition: app_profiling.h:31
Definition: fps.h:4
Manages the visual state and animations for the GPU timeline.
Definition: gpu_profiler_ui.h:12
Manages GPU timing using double-buffered queries to avoid stalls.
Definition: gpu_profiler.h:86
Reads GPU utilization % via Linux DRM fdinfo (same method as MangoHud).
Definition: gpu_usage.h:25
State container for performance mode.
Definition: perf_mode.h:52
Handles Tracy-specific instrumentation and asynchronous GPU screenshots.
Definition: tracy_manager.h:19