ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches

⏱️ FPS tracking utility for monitoring frame throughput across all threads More...

Go to the source code of this file.

Data Structures

struct  fps_t
 FPS tracking state. More...
 

Functions

void fps_init (fps_t *tracker, int expected_fps, const char *name)
 Initialize FPS tracker.
 
void fps_init_with_interval (fps_t *tracker, int expected_fps, const char *name, uint64_t report_interval_ns)
 Initialize FPS tracker with custom report interval.
 
void fps_frame_ns (fps_t *tracker, uint64_t current_time_ns, const char *context)
 Track a frame and detect lag conditions (nanosecond version - PRIMARY)
 

Detailed Description

⏱️ FPS tracking utility for monitoring frame throughput across all threads

Definition in file fps.h.