From owner-freebsd-arch Sat Nov 18 14:52:43 2000 Delivered-To: freebsd-arch@freebsd.org Received: from gratis.grondar.za (grouter.grondar.za [196.7.18.65]) by hub.freebsd.org (Postfix) with ESMTP id 508DE37B479 for ; Sat, 18 Nov 2000 14:52:38 -0800 (PST) Received: from grondar.za (grapevine.grondar.za [196.7.18.17]) by gratis.grondar.za (8.11.1/8.11.1) with ESMTP id eAIMqPJ13415; Sun, 19 Nov 2000 00:52:25 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <200011182252.eAIMqPJ13415@gratis.grondar.za> To: Bruce Evans Cc: arch@FreeBSD.ORG Subject: Re: "Monotonic" counter/register call - commit candidate. References: In-Reply-To: ; from Bruce Evans "Sun, 19 Nov 2000 09:47:55 +1100." Date: Sun, 19 Nov 2000 00:52:20 +0200 From: Mark Murray Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > That function is kinda bloated; all I need is rdtsc() and its equivalents. > > I'm not sure about that. There are many interesting machine-dependent > counters. E.g., the counter for the number of instructions executed > increases at a similar rate to the TSC but is more random. I'm not looking for random. I'm looking for a fast counter. 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