Poster of Linux kernelThe best gift for a Linux geek
MHZ

MHZ

Section: LMBENCH (8) Updated: $Date$
Local index Up
 

NAME

mhz - calulate processor clock rate  

SYNOPSIS

mhz [-c]  

DESCRIPTION

mhz calculates the processor clock rate and megahertz. It uses an unrolled, interlocked loop of adds or shifts. So far, superscalarness has been defeated on the tested processors (SuperSPARC, RIOS, Alpha).  

OUTPUT

Output format is either just the clock rate as a float (-c) or more verbose

39.80 Mhz, 25 nanosec clock

mhz is described more completely in ``mhz: Anatomy of a microbenchmark'' in Proceedings of 1998 USENIX Annual Technical Conference, June 1998.  

SEE ALSO

lmbench(8).  

AUTHOR

Carl Staelin and Larry McVoy

Comments, suggestions, and bug reports are always welcome.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OUTPUT
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 22:01:58 GMT, April 16, 2011