Files
skele/include/fps.h
T
anth64 5ad0ddfbc0 feat: add fps module for rolling frame/fps diagnostics
Real-time 1-second rolling window, independent of tick rate or
display refresh.
2026-08-23 17:43:51 +02:00

22 lines
312 B
C

#ifndef SKELE_FPS_H
#define SKELE_FPS_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
extern float skele_fps;
extern float skele_frame_time_ms;
extern float skele_frame_budget_ms;
void skele_fps_init(void);
void skele_fps_frame_mark(void);
#ifdef __cplusplus
}
#endif
#endif /* SKELE_FPS_H */