How to calculate a RTOS task's time

Posted by Adnan on Stack Overflow See other posts from Stack Overflow or by Adnan
Published on 2010-06-03T12:51:44Z Indexed on 2010/06/03 12:54 UTC
Read the original article Hit count: 389

Filed under:
|
|

Hello all,

I have written a code in c for Arm7 using RTOS. There are multiple tasks who's priority is set to same level. So the tasks executes on round-robin base.

There is an exception that one task (Default) has set to lower priority then the other task in rtos. So that if no task is running, the default or lower priority task runs.

Now i want to calculate the exact total timing (time duration) for that default task runs.

Can any one give some idea what to do .... and how to do in code..

Regards Dani

© Stack Overflow or respective owner

Related posts about embedded

Related posts about task