lkml.org 
[lkml]   [2000]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Error in x86 CPU capabilities starting with test5/6
On Fri, Nov 17, 2000 at 02:21:03PM +0100, Christoph Rohland wrote:
> Hi Jeff,
>
> On Fri, 17 Nov 2000, Jeff Garzik wrote:
> > IIRC, this came up a long time ago WRT Apache, which made a lot of
> > gettimeofday() calls. Someone (Linus?) proposed the solution of a
> > 'magic page' which holds information like gettimeofday() stuff, but
> > could be handled much more rapidly than a standard syscall.
>
> Yes, I followed that thread closely and would love to see this as the
> implementation for gettimeofday. This would make rdtsc for
> applications superfluous.

No it would not. Often you want cycle accurate couting for profiling
purposes.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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