Howto:Use the system monitor: Difference between revisions

Disabled some "Caution" text that i think was distracting from the main content.
m (Switch to the {{forum url}} and {{forum link}} templates for all forum links.)
(Disabled some "Caution" text that i think was distracting from the main content.)
 
Line 1: Line 1:
{{Portability Navbar}}
{{Portability Navbar}}


== Profiling ==
<!--
For developers, and people building from source, FlightGear versions >= 2.9 provide real profiling support using Google PerfTools, for details please see [[Built-in Profiler]].
 
== Terms ==
== Terms ==
{{FGCquote
{{FGCquote
Line 25: Line 23:
   }}
   }}
}}
}}
-->


== The system monitor ==
== The system monitor ==
Line 30: Line 29:
[[File:System-performance-monitor-fg260.png|400px|thumb|Screen shot showing the system performance monitor available in FG 2.6.0+]]
[[File:System-performance-monitor-fg260.png|400px|thumb|Screen shot showing the system performance monitor available in FG 2.6.0+]]


<!--
{{Caution|
{{Caution|
{{FGCquote
{{FGCquote
Line 75: Line 75:
}}
}}
}}
}}
 
-->


In FlightGear >= 2.6.0, use the menu option '''Debug''' => '''Monitor System Performance''' to analyze stutters.
In FlightGear >= 2.6.0, use the menu option '''Debug''' => '''Monitor System Performance''' to analyze stutters.
Line 91: Line 91:


So, frame spacing is a much better property to judge visual quality than just watching fps.
So, frame spacing is a much better property to judge visual quality than just watching fps.
The new GUI dialog is available in the menu: "'''Debug'''" => "'''Monitor system performance'''".


* Only statistics on our "subsystems" are shown. That's the FG modules running in our single-threaded main loop. Everything outside the main loop isn't shown, i.e. there are no statistics on the GPU or OSG rendering threads (use the OSG statistics screen for these).
* Only statistics on our "subsystems" are shown. That's the FG modules running in our single-threaded main loop. Everything outside the main loop isn't shown, i.e. there are no statistics on the GPU or OSG rendering threads (use the OSG statistics screen for these).
Line 139: Line 135:


In short: if the framerate '''varies along with the Frame Delay''', then it's a graphics performance issue. If framerate is pretty stable, and Frame Delay '''varies more or less wildly''' I'd suspect some other subsystem being the culprit and causing more or less periodic delays as it needs to do it's stuff.
In short: if the framerate '''varies along with the Frame Delay''', then it's a graphics performance issue. If framerate is pretty stable, and Frame Delay '''varies more or less wildly''' I'd suspect some other subsystem being the culprit and causing more or less periodic delays as it needs to do it's stuff.
== Profiling ==
For developers, and people building from source, FlightGear versions >= 2.9 provide real profiling support using Google PerfTools, for details please see [[Built-in Profiler]].


= Interpreting the OSG on screen stats =
= Interpreting the OSG on screen stats =
219

edits