Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12612 Discussions

Timing the duration of functions NIOS II

Altera_Forum
Honored Contributor II
963 Views

Hello, 

 

I was wondering how I can time the duration it takes the NIOS II processor to perform a certain series of functions (for example a DMA transfer). 

Or where I can find some good information regarding this matter? 

I'm using NIOS II IDE. 

 

Thanks in advance.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
247 Views

Have a look at the performance counter (chapter 34 of this doc (http://www.altera.com/literature/ug/ug_embedded_ip.pdf))

0 Kudos
Altera_Forum
Honored Contributor II
247 Views

Ah thanks, exactly what I needed :). Somehow google didn't give me that .pdf and I somehow I missed that their was something as a performance counter described in the Embedded Peripherals IP .pdf. 

 

To make this thread more useful for someone else: in the following map (on your PC) you can find the details on how the (easy to use) performance counter works: ...\altera\10\quartus\sopc_builder\documents\performance_counter_readme.html 

 

But the performance counter does confirm my bad feelings though, namely that my system is terrible slow.:mad: See this thread: 

http://www.alteraforum.com/forum/showthread.php?t=26869
0 Kudos
Reply