ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
fps_counter.h File Reference

⏱️ FPS counter for measuring output write throughput More...

Go to the source code of this file.

Typedefs

typedef struct fps_counter_s fps_counter_t
 Opaque FPS counter handle.
 

Functions

fps_counter_t * fps_counter_create (void)
 Create a new FPS counter.
 
void fps_counter_destroy (fps_counter_t *counter)
 Destroy FPS counter and free resources.
 
void fps_counter_tick (fps_counter_t *counter)
 Record a frame timestamp.
 
float fps_counter_get (fps_counter_t *counter)
 Get the current FPS value.
 

Detailed Description

⏱️ FPS counter for measuring output write throughput

Definition in file fps_counter.h.