Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Nov 2000 09:30:12 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Mark Murray <mark@grondar.za>
Cc:        arch@FreeBSD.ORG
Subject:   Re: new monotime() call for all architectures. 
Message-ID:  <Pine.BSF.4.21.0011190925260.767-100000@besplex.bde.org>
In-Reply-To: <200011181652.eAIGqgJ12738@gratis.grondar.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 18 Nov 2000, Mark Murray wrote:

> > No!  machine/cpufunc.h is for "Functions to provide access to special cpu
> > instructions", not for functions that happen to call a (primitive) function
> > in cpufunc.h.
> 
> Then where? clock.h has already been thoroughly objected to.

clock.c is a reasonable place for it.  On i386's, it needs to access
`tsc_present' which is currently only in clock.c.  How much more
(or less) efficient is the inline version?

<machine/random.h> is another reasonable place for it.

Bruce



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011190925260.767-100000>