From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id C1C412EFA2 for ; Wed, 24 Jan 2001 21:59:07 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f0P2wsQ28948 for axp-list@listman.redhat.com; Wed, 24 Jan 2001 21:58:54 -0500 Received: from femail14.sdc1.sfba.home.com (femail14.sdc1.sfba.home.com [24.0.95.141]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f0P2wsd28944 for ; Wed, 24 Jan 2001 21:58:54 -0500 Received: from appnet.com ([24.13.63.84]) by femail14.sdc1.sfba.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010125025905.DAQE14349.femail14.sdc1.sfba.home.com@appnet.com> for ; Wed, 24 Jan 2001 18:59:05 -0800 Message-ID: <3A6F9551.45CB217F@appnet.com> Date: Wed, 24 Jan 2001 21:54:09 -0500 From: Jeff Sturm X-Mailer: Mozilla 4.73 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Finding processor frequency References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors Ross A Knepper wrote: > so while there might be a more preferred way of getting the clock speed > than parsing /proc/cpuinfo, i dont know what it is :) The lmbench suite contains a utility to guess processor cycle frequency called mhz.c. It runs completely in userspace, is written in portable C and is accurate within a MHz or two on every machine I've tried. Probably not the answer you wanted, but interesting nonetheless. Jeff