Changes between Version 7 and Version 8 of EngineProfiling
- Timestamp:
- Dec 29, 2013, 11:45:23 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
EngineProfiling
v7 v8 12 12 * mallocs/frame - number of memory allocations inside that section per frame. Only works when the game is compiled in debug mode - in release mode it's always 0. Might not work on Windows at all. 13 13 * calls/turn - number of times called in a single simulation turn (not averaged). A simulation turn occurs typically every 200ms or 500ms or so, and runs all of the gameplay update code, and corresponds to a variable number of frames, so this is more useful than calls/frame for measuring code that only gets called during the simulation turn. 14 * msec/ frame- same idea.15 * mallocs/ frame- same idea again.14 * msec/turn - same idea. 15 * mallocs/turn - same idea again. 16 16 17 17 To use this profiler in code, do: