Assuming it is just a temporary development requirement, here is one approach that you could use:
If you have some output port pins available, you could assign one pin for each task you wish to monitor. Then force the relevant output pin high at the beginning of the task, clear it at the end. Use a 'scope on the pin to measure the duration of the pulse.
Best regards,
Carl Barnes
www.technologicalarts.com
A full line of HC11/HC12/HCS12 hardware.
Evaluate * Educate * Embed