7795ba60ff
These are the time statistics that are the simulation code, which is basically everything except the rendering. For a while I've wondered how efficient each of my JSBSim models are, and how much of our valuable frame time is spent on simulation modules. Ideally the simulation modules should be taking 2-3ms, anything longer indicates a need to consider optimising things more. These are the new properties that are added by this change: /sim/rendering/sim-frame-count Number of frames since start (or last time /sim/rendering/sim-frame-count-reset Reset statistics. Can be useful to reset monitoring after a slow startup /sim/rendering/sim-host-avg-ms Average amount of time spent in the "simulation" rather than rendering. This attempts to take into consideration the frame rate throttling but when throttled this figure is less reliable. /sim/rendering/sim-host-total-ms Total milliseconds since reset /sim/time/frame-wait-ms Current frame wait to meet throttling rate. |
||
---|---|---|
.. | ||
CameraGroup.cxx | ||
CameraGroup.hxx | ||
CMakeLists.txt | ||
fg_os_osgviewer.cxx | ||
FGEventHandler.cxx | ||
FGEventHandler.hxx | ||
fgviewer.cxx | ||
fgviewer.hxx | ||
GraphicsWindowQt5.cpp | ||
GraphicsWindowQt5.hxx | ||
PUICamera.cxx | ||
PUICamera.hxx | ||
renderer.cxx | ||
renderer.hxx | ||
renderingpipeline.cxx | ||
renderingpipeline.hxx | ||
splash.cxx | ||
splash.hxx | ||
view.cxx | ||
view.hxx | ||
viewmgr.cxx | ||
viewmgr.hxx | ||
WindowBuilder.cxx | ||
WindowBuilder.hxx | ||
WindowSystemAdapter.cxx | ||
WindowSystemAdapter.hxx |