|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
⏱️ FPS tracking utility implementation (nanosecond-precision) More...
Go to the source code of this file.
Functions | |
| void | fps_init (fps_t *tracker, int expected_fps, const char *name) |
| void | fps_init_with_interval (fps_t *tracker, int expected_fps, const char *name, uint64_t report_interval_ns) |
| void | fps_frame_ns (fps_t *tracker, uint64_t current_time_ns, const char *context) |
⏱️ FPS tracking utility implementation (nanosecond-precision)
Definition in file fps.c.
| void fps_frame_ns | ( | fps_t * | tracker, |
| uint64_t | current_time_ns, | ||
| const char * | context | ||
| ) |
Definition at line 52 of file fps.c.
References time_elapsed_ns().
Referenced by client_audio_render_thread(), client_video_render_thread(), and session_capture_read_frame().
| void fps_init | ( | fps_t * | tracker, |
| int | expected_fps, | ||
| const char * | name | ||
| ) |
Definition at line 32 of file fps.c.
References fps_init_with_interval().
Referenced by client_audio_render_thread(), client_video_render_thread(), session_capture_create(), and session_network_capture_create().
| void fps_init_with_interval | ( | fps_t * | tracker, |
| int | expected_fps, | ||
| const char * | name, | ||
| uint64_t | report_interval_ns | ||
| ) |
Definition at line 37 of file fps.c.
Referenced by fps_init().