$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
fps.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  FpsCounter
 

Functions

void fps_init (FpsCounter *fps, float decay, double log_interval)
 
void fps_update (FpsCounter *fps, double delta_time, double current_time)
 

Function Documentation

◆ fps_init()

void fps_init ( FpsCounter fps,
float  decay,
double  log_interval 
)

◆ fps_update()

void fps_update ( FpsCounter fps,
double  delta_time,
double  current_time 
)
Here is the call graph for this function: