lkml.org 
[lkml]   [1999]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: What I suspect : [PATCH] sysdat driver for faster gettimeofday()
On Fri, Dec 10, 1999 at 05:13:09AM +0100, Andrea Arcangeli wrote:
> Your gettimeofday has a resolution of 10msec while the stock gettimeofday
> has a resolution of 1/CPU_CYCLES_PER_SEC (order of 2pico-sec) on P5 or
> more recent x86 machines and of 1/8253_LATCH_DOWNCOUNT_FREQUENCY on 486
> and 386 (that is very more accurate than 10msec).
>
> Andrea

Andrea,

How exactly are you figuring the resolution?

I understand that the initial mmap is higher latency but that is
just on the initial call... Every one after that is just a read from
memory.

--
John Wright (jwright@engr.sgi.com)

-
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.tux.org/lkml/

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