#include <fps.h>
|
using | frame_queue = std::queue<Timing::clock::duration> |
|
◆ frame_queue
◆ FPS() [1/2]
◆ FPS() [2/2]
nngn::FPS::FPS |
( |
frame_queue::size_type | n | ) |
|
|
explicit |
◆ frame()
void nngn::FPS::frame |
( |
Timing::clock::time_point | t | ) |
|
◆ init()
void nngn::FPS::init |
( |
Timing::clock::time_point | t | ) |
|
◆ reset_min_max()
void nngn::FPS::reset_min_max |
( |
| ) |
|
◆ to_string()
std::string nngn::FPS::to_string |
( |
| ) |
const |
◆ avg
◆ avg_hist
◆ avg_sum
Timing::clock::duration nngn::FPS::avg_sum = {} |
◆ default_size
frame_queue::size_type nngn::FPS::default_size = 60 |
|
staticconstexpr |
◆ last_f
Timing::clock::time_point nngn::FPS::last_f = {} |
◆ last_t
Timing::clock::time_point nngn::FPS::last_t = {} |
◆ max_dt
Timing::clock::duration nngn::FPS::max_dt = {} |
◆ min_dt
Timing::clock::duration nngn::FPS::min_dt = {} |
◆ sec_count
size_t nngn::FPS::sec_count = 0 |
◆ sec_last
size_t nngn::FPS::sec_last = 0 |
The documentation for this struct was generated from the following files: