Date: Sun, 19 Nov 2000 20:22:35 +0200 From: Mark Murray <mark@grondar.za> To: Bruce Evans <bde@zeta.org.au> Cc: arch@FreeBSD.ORG Subject: Re: "Monotonic" counter/register call - commit candidate. Message-ID: <200011191822.eAJIMZJ15840@gratis.grondar.za> In-Reply-To: <Pine.BSF.4.21.0011200106550.1644-100000@besplex.bde.org> ; from Bruce Evans <bde@zeta.org.au> "Mon, 20 Nov 2000 01:12:28 %2B1100." References: <Pine.BSF.4.21.0011200106550.1644-100000@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > I'm not looking for random. I'm looking for a fast counter. > > You seem to want more than a fast counter. The following implements a > fast counter: > --- > u_int fast_counter; > > ++fast_counter; ...one which to be scheduled to be executed; rdtsc() does not; all I need to do is read it. M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org 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?200011191822.eAJIMZJ15840>