From owner-freebsd-questions Tue Dec 5 19:49:19 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 19:49:17 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id E9E4337B400 for ; Tue, 5 Dec 2000 19:49:16 -0800 (PST) Received: from laptop.baldwin.cx (root@dhcp246.osd.bsdi.com [204.216.28.246]) by pike.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id eB63ml765484; Tue, 5 Dec 2000 19:48:47 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20001206023233.8112D3E09@bazooka.unixfreak.org> Date: Tue, 05 Dec 2000 19:49:26 -0800 (PST) From: John Baldwin To: (Dima Dorfman) Subject: Re: CPU Speed? Cc: freebsd-questions@FreeBSD.org, (Charles Henrich) , (Otter) , (Matt Rudderham) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 06-Dec-00 Dima Dorfman wrote: > Matt Rudderham wrote: >> >> > Otter wrote: >> > > >> > > > sysctl kern.clockrate >> > > kern.clockrate: { hz = 100, tick = 10000, tickadj = 5, profhz = 1024, >> > > stathz = 128 } >> > >> > This appears to be meaningless, as it is the same on all computers (I >> > tried two, and they're both identical to yours). >> Me as well, a 133MHz and a 200MHz system both come up with above response. I >> am interested in the answer now though:) > > I believe this might be your answer: > > dima@hornet# sysctl machdep.tsc_freq > machdep.tsc_freq: 498853267 This is only present for Pentium's or later. This will not work on 386 and 486, nor will it work on an Alpha, IA/64, PPC, etc. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message