Measuring cpu load of interrupt routine
Set an output pin when you enter the ISR and clear it before returning from it. Filter the output with an RC filter. The voltage across the capacitor should give you the ISR duty cycle.
For instance, if your power supply is 3.3V and you measure 33mV, then you spend 1% of the time in the ISR.