nngn
Loading...
Searching...
No Matches
timing Directory Reference

Clocks, timers, profiling.

More...

Directory dependency graph for timing:
src/timing

Files

 adhoc.cpp
 
 adhoc.h
 
 fps.cpp
 
 fps.h
 
 limit.cpp
 
 limit.h
 
 lua_fps.cpp
 
 lua_profile.cpp
 
 lua_schedule.cpp
 
 lua_stats.cpp
 
 lua_timing.cpp
 
 profile.cpp
 
 profile.h
 
 schedule.cpp
 
 schedule.h
 
 stats.cpp
 
 stats.h
 
 timing.cpp
 
 timing.h
 

Detailed Description

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.