1
0
Fork 0

Debug option to enable run-time timing statistics

(Statistics output is printed to console - don't expect fancy graphics!)
This commit is contained in:
ThorstenB 2011-03-23 23:18:37 +01:00
parent c49e4306d7
commit 38653de528
2 changed files with 18 additions and 2 deletions

View file

@ -653,7 +653,7 @@
</item>
<item>
<label>Print Statistics</label>
<label>Print Rendering Statistics</label>
<binding>
<command>property-assign</command>
<property>/sim/rendering/print-statistics</property>
@ -670,6 +670,14 @@
</binding>
</item>
<item>
<label>Toggle Subsystem Statistics</label>
<binding>
<command>property-toggle</command>
<property>/sim/timing-statistics/enabled</property>
</binding>
</item>
<item>
<label>Browse Internal Properties</label>
<binding>

View file

@ -23,7 +23,7 @@ Started September 2000 by David Megginson, david@megginson.com
<session type="int" userarchive="y">0</session>
<paths>
<screenshot-dir/> <!-- defaults to current working dir -->
<screenshot-dir type="string"/> <!-- defaults to current working dir -->
<validate>
<read type="string"/>
<write type="string"/>
@ -635,6 +635,14 @@ Started September 2000 by David Megginson, david@megginson.com
<user>
<callsign type="string">Golf Foxtrot Sierra</callsign>
</user>
<timing-statistics>
<enabled type="bool" archive="n">false</enabled>
<interval-s type="double" archive="n">20.0</interval-s>
<min-jitter-ms type="double" archive="n">0.0</min-jitter-ms>
<min-time-ms type="double" archive="n">100.0</min-time-ms>
</timing-statistics>
</sim>