22 explicit FPS(frame_queue::size_type
n);
23 void init(Timing::clock::time_point t);
24 void frame(Timing::clock::time_point t);
local n
Definition dump_lights.lua:5
init
Definition img_common.lua:34
frame_queue avg_hist
Definition fps.h:18
Timing::clock::duration min_dt
Definition fps.h:16
void reset_min_max()
Definition fps.cpp:43
static constexpr frame_queue::size_type default_size
Definition fps.h:14
size_t sec_last
Definition fps.h:20
size_t sec_count
Definition fps.h:20
std::queue< Timing::clock::duration > frame_queue
Definition fps.h:13
std::string to_string() const
Definition fps.cpp:49
void frame(Timing::clock::time_point t)
Definition fps.cpp:20
Timing::clock::time_point last_t
Definition fps.h:15
Timing::clock::time_point last_f
Definition fps.h:15
Timing::clock::duration avg_sum
Definition fps.h:17
Timing::clock::duration max_dt
Definition fps.h:16
float avg
Definition fps.h:19