Forum Discussion

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

MicroC-OS II Issue

Hi,

I am using Altera Stratix FPGA uC-OS-II and Nichestack IP for TCP/IP communication.

here in a while loop where i am sending and receiving data i want to measure time .

for that I am putting PC_ElapsedInit(),PC_ElapsedStart(),PC_ElapsedStop() functions.

but i want to know which header files i have to add for these functions?

Thanks in advance.

regards:

sblrde

2 Replies

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

    why not using GPIO and taking measures using a scope? the best way to do it.

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

    Or add a small avalon slave that counts sys_clk are returns the 32bit count value on reads.