It seems that the engine has support for a “budget” command to load a custom stat group along with associated budgets from a named section of the engine .ini file.
There doesn’t seem to be any documentation on the “budget” command that I could find, however I was able to deduce some of the functionality by reading the code.
I created a section called “MyStats” in the engine .ini file that looks like this:
[MyStats]
+Stats=Tick Time
+Stats=Update Components Time
+Stats=World Tick Time
+Stats=GameThread
TickTime=1.0
UpdateComponentsTime=1.0
WorldTickTime=1.0
GameThread=5.0
After fixing a minor bug (GStatProcessingViewportClient was null, so the “budget” command was not processed correctly) I’m able to issue this command:
budget MyStats
This does seem to load the custom stat group along with the budgets per stat, but the display doesn’t seem functional. In the “MyStats” group all of the numbers are zero.
Does anyone have experience with using budgets for the real-time in-game stats?
Thanks!