37 #ifndef FRAMERATE_TYPE_H 38 #define FRAMERATE_TYPE_H 96 TimingMeasurement start_time;
99 ~PerformanceMeasurer();
100 void SetExpectedRate(
double rate);
Time spent processing cargo movement.
AI execution for player slot 5.
PerformanceElement
Elements of game performance that can be measured.
End of enum, must be last.
Speed of drawing world and GUI.
Time spent processing aircraft.
AI execution for player slot 12.
Type (helpers) for enums.
Speed of gameloop processing.
AI execution for player slot 2.
AI execution for player slot 9.
Time spend processing road vehicles.
AI execution for player slot 15.
Definition of base types and functions in a cross-platform compatible way.
AI execution for player slot 7.
AI execution for player slot 6.
AI execution for player slot 14.
Time spent processing other world features.
AI execution for player slot 1.
uint64 TimingMeasurement
Type used to hold a performance timing measurement.
AI execution for player slot 10.
Time spent processing ships.
Time spent drawing world viewports in GUI.
Speed of painting drawn video buffer.
AI execution for player slot 8.
AI execution for player slot 3.
AI execution for player slot 11.
void ShowFramerateWindow()
Open the general framerate window.
#define DECLARE_POSTFIX_INCREMENT(enum_type)
Some enums need to have allowed incrementing (i.e.
AI execution for player slot 13.
Time spent processing trains.
Time spent waiting for link graph background jobs.
AI execution for player slot 4.
Sum of all GS/AI scripts.
Speed of mixing audio samples.