ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
fps_counter.h
Go to the documentation of this file.
1
30#pragma once
31
32#include <stdbool.h>
33
40
51
57
65void fps_counter_tick(fps_counter_t *counter);
66
75float fps_counter_get(fps_counter_t *counter);
76
float fps_counter_get(fps_counter_t *counter)
Get the current FPS value.
Definition fps_counter.c:74
void fps_counter_tick(fps_counter_t *counter)
Record a frame timestamp.
Definition fps_counter.c:57
void fps_counter_destroy(fps_counter_t *counter)
Destroy FPS counter and free resources.
Definition fps_counter.c:47
fps_counter_t * fps_counter_create(void)
Create a new FPS counter.
Definition fps_counter.c:33
ClangTool/LibTooling compatibility shim for stdbool.h.
FPS counter state.
Definition fps_counter.c:23