Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
1,270 Views

Micro C/OS-II realtime response measurement

HI, may i know anyone know how to show, or measure the response time for each tasks, including the interrupt as well. I'm using Nios II embedded evaluation board so any idea or method to used to measure the response time? 

 

 

 

 

Thanks. :)
0 Kudos
5 Replies
Highlighted
Valued Contributor III
5 Views

There are some scope probes in here showing the interrupt timing of an ARM micro. You can do the same for a NIOS processor: 

 

http://www.ovro.caltech.edu/~dwh/ucos/project_ar1803.pdf 

 

Cheers, 

Dave
0 Kudos
Highlighted
Valued Contributor III
5 Views

Hi jayze_ng, 

 

I've done something like you want with Oscilloscope. 

Start synchro on INT event and show a change output pin of FPGA on the second curve. 

And done it several times to have good statistics. 

The INT in my software set a flag and another task is OSflagPending this flag. 

 

Hope it helps you. 

bvincent1
0 Kudos
Highlighted
Valued Contributor III
5 Views

Thanks a lot Dave @ bvincent1, it really help in observe the time response. Million thanks for your resourse and idea. :) 

 

Jayze ng
0 Kudos
Highlighted
Valued Contributor III
5 Views

Hi Dave and bvincent1, 

 

Do you guys ever tried uc/probe before? As i found that this software was quite good in term of real time measurement.  

 

Jayze ng
0 Kudos
Highlighted
Valued Contributor III
5 Views

 

--- Quote Start ---  

 

Do you guys ever tried uc/probe before? 

 

--- Quote End ---  

No, it did not exist when I was developing with uCOS-II (for a TI DSP). 

 

I did look at it when I installed uCOS-III for one of the book editions (STM development kit, I think) for a friend. I have the TI ARM EVALBOT so will look at it one day using that. 

 

 

--- Quote Start ---  

 

As i found that this software was quite good in term of real time measurement.  

 

--- Quote End ---  

Good to know, thanks! 

 

Cheers, 

Dave
0 Kudos