$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
app_profiling.h File Reference

Profiling, metrics, and performance monitoring sub-struct. More...

#include "fps.h"
#include "gpu_profiler.h"
#include "gpu_profiler_ui.h"
#include "gpu_usage.h"
#include "perf_mode.h"
#include "tracy_manager.h"
Include dependency graph for app_profiling.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  AppProfiling
 Profiling, metrics, and performance monitoring grouped together. More...
 

Functions

void app_profiling_init (AppProfiling *prof, int width, int height)
 Initialize all profiling sub-systems to default state. More...
 
void app_profiling_cleanup (AppProfiling *prof)
 Release all profiling resources in reverse init order. More...
 

Detailed Description

Profiling, metrics, and performance monitoring sub-struct.

Extracted from app.h to reduce include fan-out. All profiling-related types are grouped here so that app.h only needs a single #include "app_profiling.h".

Function Documentation

◆ app_profiling_cleanup()

void app_profiling_cleanup ( AppProfiling *  prof)

Release all profiling resources in reverse init order.

Parameters
profPointer to the profiling sub-struct.
Here is the call graph for this function:

◆ app_profiling_init()

void app_profiling_init ( AppProfiling *  prof,
int  width,
int  height 
)

Initialize all profiling sub-systems to default state.

Parameters
profPointer to the profiling sub-struct.
widthInitial viewport width (for Tracy screenshot buffer).
heightInitial viewport height.
Here is the call graph for this function: