[lkml]   [2002]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjecta faster way to gettimeofday?
I have a program that I very often need to calculate the current
time, with milisecond accuracy. I've been using gettimeofday(),
but gprof shows it's taking a significant (10% or so) amount of
time. Is there a faster (and perhaps less portable?) way to get
the time information on x86? My program runs as root, so should
have any permissions it needs to use some backdoor hack if that


Ben Greear <> <Ben_Greear AT>
President of Candela Technologies Inc

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.090 / U:7.580 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site