Re: Time measuring on an SBC2440-II (ARM920T) board

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


Have you already tried with the high resolution timers?

Marco

Malte Wienecke ha scritto:
> Hi,
> 
> I try to measure the execution time of a function in a c program. With  
> the header "sys/time.h" it is possible to measure the time in  
> microseconds, but I need more precise information.
> 
> Is there a way to read out the clock count of the processor or to  
> access the timers under arm linux?
> 
> I hope you can help me.
> 
> 
> -------------------------------------------------------------------
> List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
> Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
> 

-- 
Marco Stornelli
Embedded Software Engineer
CoRiTeL - Consorzio di Ricerca sulle Telecomunicazioni
http://www.coritel.it

marco.stornelli@xxxxxxxxxx
+39 06 72582838

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[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