feat: add fps module for rolling frame/fps diagnostics

Real-time 1-second rolling window, independent of tick rate or
display refresh.
This commit is contained in:
2026-08-23 17:43:51 +02:00
parent 55055a042d
commit 5ad0ddfbc0
4 changed files with 64 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ INPUT_SRC = src/platform/client/input/sdl.c
.include "config.mk"
ENGINE_SRCS = src/skele.c ${CLOCK_SRC}
ENGINE_SRCS = src/skele.c src/fps.c ${CLOCK_SRC}
SOFT_PLAT_SRCS = src/platform/client/video/sdl.c ${INPUT_SRC}
GL_PLAT_SRCS = src/platform/client/video/gl.c ${INPUT_SRC}
SOFT_CLIENT_SRCS = example/client/main.c