Use boost::timers for frame time tracking.