|
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
|
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 <stdbool.h>#include "app_subsystem.h"Go to the source code of this file.
Data Structures | |
| struct | AppProfiling |
| Profiling, metrics, and performance monitoring grouped together. More... | |
Macros | |
| #define | APP_PROFILING_DESCRIPTOR {"profiling", app_profiling_subsys_init, app_profiling_subsys_cleanup} |
Functions | |
| void | app_profiling_init (AppProfiling *prof, int width, int height) |
| Initialize all profiling sub-systems to default state. | |
| void | app_profiling_cleanup (AppProfiling *prof) |
| Release all profiling resources in reverse init order. | |
| int | app_profiling_subsys_init (struct App *app) |
| void | app_profiling_subsys_cleanup (struct App *app) |
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".
| #define APP_PROFILING_DESCRIPTOR {"profiling", app_profiling_subsys_init, app_profiling_subsys_cleanup} |
| void app_profiling_cleanup | ( | AppProfiling * | prof | ) |
Release all profiling resources in reverse init order.
| prof | Pointer to the profiling sub-struct. |
| void app_profiling_init | ( | AppProfiling * | prof, |
| int | width, | ||
| int | height | ||
| ) |
Initialize all profiling sub-systems to default state.
| prof | Pointer to the profiling sub-struct. |
| width | Initial viewport width (for Tracy screenshot buffer). |
| height | Initial viewport height. |
| void app_profiling_subsys_cleanup | ( | struct App * | app | ) |
| int app_profiling_subsys_init | ( | struct App * | app | ) |