ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
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
 Counters and timestamps used to calculate and report frame rate. 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.