[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    RE: Is there any API to read time in microseconds or lesser??
From:       "Sudheer" <rsud () insilica ! com>
Date:       2005-08-08 10:13:55
Message-ID: 01f601c59c00$3ae757a0$2f08a8c0 () varuna
[Download RAW message or body]


I am looking for function which is equivalent to rdtsc() available from
Intel 

-----Original Message-----
From: linux-arm-kernel-bounces@lists.arm.linux.org.uk
[mailto:linux-arm-kernel-bounces@lists.arm.linux.org.uk] On Behalf Of
Dimitry Andric
Sent: Monday, August 08, 2005 2:52 PM
To: rsud@insilca.com.insilicasemi.com
Cc: linux-arm-kernel@lists.arm.linux.org.uk
Subject: Re: Is there any API to read time in microseconds or lesser??

On 2005-08-08 at 09:20:18 rsud@insilca.com.insilicasemi.com wrote:

>         Is there any API in the kernel which could me used to record
the
> time in microseconds? Something similar to rdtsc() in Intel ???

do_gettimeofday() from include/linux/time.h is probably what you want.



-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic