logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mhz - calulate processor clock rate

Author

       Carl Staelin and Larry McVoy

       Comments, suggestions, and bug reports are always welcome.

(c)1994-2000 Carl Staelin and Larry McVoy            $Date$                                               MHZ(8)

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).

Name

       mhz - calulate processor clock rate

Output

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

       39.80Mhz,25nanosecclockmhz is described more completely in ``mhz: Anatomy of a microbenchmark'' in Proceedingsof1998USENIXAnnualTechnicalConference,June1998.

See Also

lmbench(8).

Synopsis

mhz[-c]

See Also