[Ohrrpgce] SVN: teeemcee/8121 Improve script profiling: track time spent in children (childtime).
subversion at HamsterRepublic.com
subversion at HamsterRepublic.com
Thu Sep 1 11:03:26 PDT 2016
teeemcee
2016-09-01 11:03:25 -0700 (Thu, 01 Sep 2016)
480
Improve script profiling: track time spent in children (childtime).
Also, in g_debug.txt print a second table of scripts sorted by childtime,
and improve the help message.
Factored out all profiling stuff to the *_timing functions in
scripting.bas (as part of move to new interpreter).
You can call stop_fibre_timing and start_fibre_timing to pause
timing; scripterr and script_interrupt now do this to avoid
mucking up the times. killallscripts now also properly stops timing.
---
U wip/config.bi
U wip/game.bas
U wip/gglobals.bi
U wip/oldhsinterpreter.bas
U wip/scripting.bas
U wip/scripting.bi
U wip/udts.bi
More information about the Ohrrpgce
mailing list