Date: Wed, 6 Dec 2000 10:32:51 +0100 (CET) From: Paul Herman <pherman@frenchfries.net> To: Charles Henrich <henrich@sigbus.com> Cc: John Baldwin <jhb@FreeBSD.ORG>, <freebsd-questions@FreeBSD.ORG>, Matt Rudderham <matt@researcher.com> Subject: Re: CPU Speed? Message-ID: <Pine.BSF.4.30.0012061020570.11378-100000@husten.security.at12.de> In-Reply-To: <20001205205607.A93654@sigbus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 5 Dec 2000, Charles Henrich wrote: > > [ In trying to determine the CPU speed, a program posted which pulls > machdep.tsc_freq from sysctl() ] > > Doesnt work on my P2/450 nor my P3-1Ghz machines. > I recall a small program called mhz in the lmbench port which tries to calculate the CPU speed by finding the GCD between the lengths (in ns) of two different instruction loops (whose lengths are relatively prime.) Supposedly platform independant. /usr/ports/benchmarks/lmbench -Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.30.0012061020570.11378-100000>