From: Jeff Sturm <jeff.sturm@appnet.com>
To: axp-list@redhat.com
Subject: Re: Finding processor frequency
Date: Wed, 24 Jan 2001 21:54:09 -0500 [thread overview]
Message-ID: <3A6F9551.45CB217F@appnet.com> (raw)
In-Reply-To: Pine.LNX.4.21.0101241831330.30735-100000@imhotep.zk3.dec.com
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 <uri:http://www.bitmover.com/lmbench/> 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
next prev parent reply other threads:[~2001-01-25 2:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-24 23:31 Finding processor frequency Bharadwaj Yadavalli
2001-01-24 23:33 ` Ross A Knepper
2001-01-25 2:54 ` Jeff Sturm [this message]
2001-01-25 16:36 ` Bharadwaj Yadavalli
2001-01-25 22:39 ` W Bauske
2001-01-26 3:53 ` DP264 Sale Maurice Hilarius
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox