20,741
edits
Line 194: | Line 194: | ||
The performance monitor is initialized in fg_init.cxx: https://gitorious.org/fg/flightgear/blobs/next/src/Main/fg_init.cxx#line1083 | The performance monitor is initialized in fg_init.cxx: https://gitorious.org/fg/flightgear/blobs/next/src/Main/fg_init.cxx#line1083 | ||
The performance monitor is implemented as part of SimGear, <simgear/structure/SGPerfMon.hxx> | The performance monitor is implemented as part of SimGear, <simgear/structure/SGPerfMon.hxx> | ||
As can be seen, it hooks into the SGSubsystem code, so that it gets invoked by all subsystems in order to create runtime samples. | As can be seen, it hooks into the [http://simgear.sourceforge.net/doxygen/classSGSubsystem.html SGSubsystem] code, so that it gets invoked by all subsystems in order to create runtime samples. | ||
The commits implementing the performance monitor are these: | The commits implementing the performance monitor are these: |