lkml.org 
[lkml]   [1998]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: gettimeofday() vs. /proc/rtc

On Sun, Jul 19, 1998 at 11:37:49AM -0700, Truxton Fulton wrote:
> It takes 1000 microseconds to read /proc/rtc, whereas gettimeofday()
> takes only 15 microseconds to complete. Both of these are way too
> long. On my 133 Mhz 486, it seems like there should be a fine grained
> timer that takes less than 1 microsecond to read... any suggestions?

Reading the 8253 can take up to 15microseconds on every x86 PC I have
tested, including 333Mhz PIIs. Linux is good, but it cannot make antique
hardware speed up.


--

---------------------------------
Victor Yodaiken
Department of Computer Science
New Mexico Institute of Mining and Technology
Socorro NM 87801
Homepage http://www.cs.nmt.edu/~yodaiken
PowerPC Linux page http://linuxppc.cs.nmt.edu
Real-Time Page http://rtlinux.org


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

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