Subject: Re: timing issue
To: None <netbsd-users@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-users
Date: 11/18/2006 06:02:37
lists@badzong.com wrote:
> freebsd results stay always below 2000 usec:
> 
> gettimeofday:         2 usec
> usleep:            1995 usec
> nanosleep:         1996 usec
> select:            1998 usec
> 
> 
> netbsd's results range from 9000 to 20000 usec with an average of 14000
> usec.
> 
> gettimeofday:         2 usec
> usleep:           13096 usec
> nanosleep:        12056 usec
> select:           13476 usec
> 
> Why is netbsd so inaccurate and is there a more precise system call or a
> workaround?

Could you try a kernel with the NO_TSC_TIME option?

-- 
Christian