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

Clocks, timers, profiling.

More...

Directory dependency graph for timing:
master/src/timing

Files

file  adhoc.cpp
 
file  adhoc.h [code]
 
file  fps.cpp
 
file  fps.h [code]
 
file  limit.cpp
 
file  limit.h [code]
 
file  lua_fps.cpp
 
file  lua_profile.cpp
 
file  lua_schedule.cpp
 
file  lua_stats.cpp
 
file  lua_timing.cpp
 
file  profile.cpp
 
file  profile.h [code]
 
file  schedule.cpp
 
file  schedule.h [code]
 
file  stats.cpp
 
file  stats.h [code]
 
file  timing.cpp
 
file  timing.h [code]
 

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.