nngn
|
Clocks, timers, profiling.
More...Clocks, timers, profiling.
This module centralizes time management. Here the program's clock and duration types are defined. The main type, nngn::Timing, also holds the canonical frame counter, start-of-frame timestamp, and frame time step. Where possible, all other components should update themselves with the values contained in this object instead of using their own timers.