Skip to content

Starting/stopping cost centre counters

We have startProfTimer/stopProfTimer for controlling the timer for ticks in cost centre profiling, but this doesn't affect the entries and allocation counts of the cost centre stacks. It would be nice if we could freeze all profiling counters.

I've made an implementation of this functionality in !12440, which I found helpful for analyzing the behaviour of a long-running program while performing specific tasks or processing specific data.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information