1
0
Fork 0
flightgear/src/Viewer
Richard Harrison 7795ba60ff Added time statistics for the simulation host.
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.
2018-09-02 13:47:55 +02:00
..
CameraGroup.cxx Re-Name FGViewer to flightgear::View 2016-02-17 21:25:39 +00:00
CameraGroup.hxx replace many auto_ptr by unique_ptr 2016-11-14 22:20:46 +01:00
CMakeLists.txt Steps to make PUI optional, HiDPI tolerant. 2017-10-20 12:10:51 +01:00
fg_os_osgviewer.cxx Added time statistics for the simulation host. 2018-09-02 13:47:55 +02:00
FGEventHandler.cxx Steps to make PUI optional, HiDPI tolerant. 2017-10-20 12:10:51 +01:00
FGEventHandler.hxx Steps to make PUI optional, HiDPI tolerant. 2017-10-20 12:10:51 +01:00
fgviewer.cxx Alternative terrain engine based on pagedLOD 2017-02-26 10:17:15 -05:00
fgviewer.hxx Move viewer-related sources to separate folder. 2012-04-25 23:28:00 +02:00
GraphicsWindowQt5.cpp Fix GCC indentation warning 2017-12-20 04:04:17 -08:00
GraphicsWindowQt5.hxx GraphicsWindowQt5: improved keyboard + modifiers 2017-06-11 23:11:33 +01:00
PUICamera.cxx Fix PUI mouse for non-pass-through mouse modes 2018-05-14 14:41:06 +01:00
PUICamera.hxx Fix PUICamera compilation 2018-01-28 14:23:22 +00:00
renderer.cxx PUICamera Linux compilation fixes 2017-10-21 11:20:07 +02:00
renderer.hxx Steps to make PUI optional, HiDPI tolerant. 2017-10-20 12:10:51 +01:00
renderingpipeline.cxx Namespace fixes for std::string 2013-06-27 09:53:12 +01:00
renderingpipeline.hxx Rembrandt: Add debugging properties and fix transparency issues. Side effect: light are not fogged (may be added in the light shader later) and depth buffer precision issues on light are more visible due to near plane really near (0.1m) 2012-07-14 13:07:41 +02:00
splash.cxx Basic support for structured authors data 2018-07-25 13:58:48 +01:00
splash.hxx Tweak to splash authors display appearance 2018-05-14 13:00:39 +01:00
view.cxx TestSuite: Complete removal of FG_TESTLIB. 2018-07-26 15:52:07 +02:00
view.hxx Rename Viewer/viewer.cxx to view 2016-02-17 21:25:39 +00:00
viewmgr.cxx TestSuite: Complete removal of FG_TESTLIB. 2018-07-26 15:52:07 +02:00
viewmgr.hxx View offset/target-offset props are tied 2016-02-17 21:25:39 +00:00
WindowBuilder.cxx Let Qt pick the default window position. 2017-06-08 15:18:23 +01:00
WindowBuilder.hxx GraphicsWinQt toggles fullscreen natively. 2017-06-08 14:51:38 +01:00
WindowSystemAdapter.cxx Steps to make PUI optional, HiDPI tolerant. 2017-10-20 12:10:51 +01:00
WindowSystemAdapter.hxx Steps to make PUI optional, HiDPI tolerant. 2017-10-20 12:10:51 +01:00