#define FG_TIME_TIMEMANAGER_HXX
#include <simgear/structure/subsystem_mgr.hxx>
+#include <simgear/props/props.hxx>
// forward decls
class SGTime;
SGPropertyNode_ptr _longitudeDeg;
SGPropertyNode_ptr _latitudeDeg;
-// frame-rate / update-rate counters
+ // frame-rate / worst-case latency / update-rate counters
SGPropertyNode_ptr _frameRate;
+ SGPropertyNode_ptr _frameLatency;
time_t _lastFrameTime;
+ double _frameLatencyMax;
int _frameCount;
};