From owner-freebsd-arch Mon Nov 20 2: 7: 3 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 9142D37B479 for ; Mon, 20 Nov 2000 02:06:56 -0800 (PST) Received: from grondar.za (gratis.grondar.za [196.7.18.133]) by gratis.grondar.za (8.11.1/8.11.1) with ESMTP id eAKA6RJ18636; Mon, 20 Nov 2000 12:06:28 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <200011201006.eAKA6RJ18636@gratis.grondar.za> To: Terry Lambert Cc: eischen@vigrid.com (Daniel Eischen), arch@FreeBSD.ORG Subject: Re: "Monotonic" counter/register call - commit candidate. References: <200011200751.AAA03260@usr06.primenet.com> In-Reply-To: <200011200751.AAA03260@usr06.primenet.com> ; from Terry Lambert "Mon, 20 Nov 2000 07:51:32 GMT." Date: Mon, 20 Nov 2000 12:06:27 +0200 From: Mark Murray Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I really hate "jiffie" and would prefer using just get_cyclecount > > or even better get_counter. It would also be nice to know what > > resolution the counter was, perhaps get_counter_res(). > > Isn't that obvious from the name of the function? A jiffy is 1/60th > of a second, and has been at least since the early 6800 machines came > out, if not before. The word "jiffy" has been long dropped. The resolution of the counter is whatever the tsc register (in Pentium) is, whatever the pcc is in the Alpha, whatever the itc reg is on IA64. (..and so on). Architectures that do not have such a register will use nanotime(9) reduced to an integral number of nanoseconds. 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