ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
fps_t Struct Reference

FPS tracking state. More...

#include <lib/util/fps.h>

Data Fields

uint64_t frame_count
 
struct timespec last_fps_report
 
struct timespec last_frame_time
 
int expected_fps
 
uint64_t report_interval_us
 
const char * tracker_name
 

Detailed Description

FPS tracking state.

Maintains timing information for FPS calculation and lag detection. Should be zero-initialized on creation.

Definition at line 51 of file fps.h.

Field Documentation

◆ expected_fps

int fps_t::expected_fps

Definition at line 55 of file fps.h.

Referenced by fps_frame(), and fps_init_with_interval().

◆ frame_count

uint64_t fps_t::frame_count

Definition at line 52 of file fps.h.

Referenced by fps_frame(), and fps_init_with_interval().

◆ last_fps_report

struct timespec fps_t::last_fps_report

Definition at line 53 of file fps.h.

Referenced by fps_frame(), and fps_init_with_interval().

◆ last_frame_time

struct timespec fps_t::last_frame_time

Definition at line 54 of file fps.h.

Referenced by fps_frame(), and fps_init_with_interval().

◆ report_interval_us

uint64_t fps_t::report_interval_us

Definition at line 56 of file fps.h.

Referenced by fps_frame(), and fps_init_with_interval().

◆ tracker_name

const char* fps_t::tracker_name

Definition at line 57 of file fps.h.

Referenced by fps_frame(), and fps_init_with_interval().


The documentation for this struct was generated from the following file: