Displaying performance data per engine subsystem
- by liortal
Our game (Android based) traces how long it takes to do the world logic updates, and how long it takes to a render a frame to the device screen.
These traces are collected every frame, and displayed at a constant interval (currently every 1 second).
I've seen games where on-screen data of various engine subsystems is displayed, with the time they consume (either in text) or as horizontal colored bars.
I am wondering how to implement such a feature?