Profiling
Jump to navigation
Jump to search
The game has a builtin profiler which can be enabled by setting gShowProfiler
to TRUE in src/game/main.c. When enabled, colored bars are shown at the bottom of the screen. Pressing L switches from mode 0 and 1.
In mode 0, the colors of the top profilers have the following meanings:
- Red: sound duration
- Yellow: level script execution
- Orange: render duration
In mode 1, the colors of the top profilers have the following meanings:
- Red (left): sound update times
- Yellow: gfx time related
- Orange: gfx time related
- Red (right): vblank time related
The bottom line (blue, yellow, orange, red) are reference bars for the maximum length.