Daily Unreal Column #52 - Timer Manager Source List
Using timers when making a game is quite common. It is very easy to lose track of how many of them are running at a given time as they are not the easiest to track down due to their latent nature.
Unreal solves this problem by providing us with a useful console command called TimerManager.BuildsTimerSourceList
.
This cheat command takes an integer parameter. This is how to use them.
1
— starts gathering timers information and groups them by class. Useful to focus on entire systems of things, especially bad spikey frames where we care about aggregates)2
— starts gathering timers information but doesn’t group them in any way0
— stops the information gathering and prints the results in the output log
Knowing the above, you can then start gathering the information about timers by typing TimerManager.BuildTimerSourceList 1
and after a while type TimerManager.BuildTimerSourceList 0
. Then inspect your output log for the results.