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

profiling and alt_tick?

Altera_Forum
Honored Contributor II
1,057 Views

What does the alt_tick really means?  

 

It doesn't seem like a real clock cycle of application to run. 

Does anybody knows how to measure clock cycles of running particular application? 

And what does alt_tick means? so how it relate to clock cycles?  

 

I got confused.  

 

THanks.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
358 Views

alt_tick is mainly used for all the periodic activities of the HAL, in particular, the HAL alarm support uses alt_tick. 

 

use the performance counter to perform cycle-accurate measurements! 

 

bye 

 

Paolo
0 Kudos
Reply