CPU time in a timer versus onUpdate

Hi, is the CPU time taken while running on a timer event accumulates to the onUpdate time when you end the timer code with Ui.RequestUpdate?

I'm asking because I moved a CPU intensive routine (slope calculations) to a recurrent timer instead of within the onUpdate code to prevent a crash caused by the code running for too long.

Thanks.