Subject: Re: speeding up microtime
To: Jukka Marin , David Laight <david@l8s.co.uk>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: port-i386
Date: 08/02/2002 07:58:14
On Fri, Aug 02, 2002 at 01:43:16PM +0300, Jukka Marin wrote:

 > Would it be possible to use the various counters present on the decent
 > pentium CPU's and their relatives?  Accesses to original pc hardware
 > timers is slow, but accessing the CPU counters is much faster.

You can't use the cycle counters on CPUs which can vary their speed.

However, that said, the i386 MP code does use the cycle counter for
microtime.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>