Counting clock cycles under Arm Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


on my SBC2440-II board with an arm920t core I want to count the clock  
cycles or to measure time in an other very precise way in order to get  
the exact execution time.

I use the function gettimeofday() but for my purpose micro seconds not  
precise enough.

Can I use any couters or systemcalls to get more precise information  
or is there a way to use something semilar to the RDTSC on an x86?

Thanks for the help.

List admin:

[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter