[lkml]   [2002]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: a faster way to gettimeofday?
On Tue, 5 Mar 2002, Ben Greear wrote:

> Davide Libenzi wrote:
> > If you're on x86 you can use collect rdtsc samples and convert them to ms.
> > You'll get even more then ms accuracy.
> Can I do this from user space? If so, any examples or docs
> you can point me to?
> Also, I'm looking primarily for a speed increase, not an accuracy
> increase.

ingo started the proper work for this, for example, see:
(there's a documentation file near the bottom of the patch) but it
doesn't appear to support gettimeofday via rdtsc yet.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:24    [W:0.065 / U:1.840 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site