Hi,
I'm using embos for m16c with IAR.
I'm measuring the code performance of several functions. (you may notice my another question about cpu load greater than 100%).
I'm using OS_GetTime32() and OS_Timing_Getus() for the same function. The results are 22 and 36817, which means 22ms and 36ms. I don't know why they are so different.
any ideas? (at the same time, I will try using my oscilloscope)
Edit: To my surprise, OS_GetTime32() is closer to the value from oscilloscope.
I'm using embos for m16c with IAR.
I'm measuring the code performance of several functions. (you may notice my another question about cpu load greater than 100%).
I'm using OS_GetTime32() and OS_Timing_Getus() for the same function. The results are 22 and 36817, which means 22ms and 36ms. I don't know why they are so different.
any ideas? (at the same time, I will try using my oscilloscope)
Edit: To my surprise, OS_GetTime32() is closer to the value from oscilloscope.
The post was edited 1 time, last by flyingxu ().