Changes between Version 7 and Version 8 of EngineProfiling


Ignore:
Timestamp:
Dec 29, 2013, 11:45:23 AM (10 years ago)
Author:
mimo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EngineProfiling

    v7 v8  
    1212 * 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.
    1313 * 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.
    1616
    1717To use this profiler in code, do: