lkml.org 
[lkml]   [1997]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: About the timer in linux-kernel

On Fri, 8 Aug 1997, David S. Miller wrote:

> Date: Fri, 08 Aug 1997 10:30:27 +0100
> From: Benoit ROBINET <benrob@hplb.hpl.hp.com>
>
> I am highly frustrated because I have a Pentium Pro 200, and I
> don't really see how to be more accurate than hundredth of
> seconds... Could anyone help me ?
>
> Read the pentium cycle counter...

maybe 'get_fast_time()' [in 2.1] is a better choice, it's platform
independent and reasonably fast (~90 cycles on a pentium, less on a PPro),
and gives standard resolution (1 usec) time.

-- mingo


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