Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

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. :)

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

    Jayze ng
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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