pctr - display CPU performance counters
pctr [-l 5 | 6]
The pctr program is a sample implementation of how to access
the pctr(4)
pseudo device available on many i386 compatible machines.
By default, the pctr command displays the current values of
the TSC and
any vendor specific counter registers.
The options are as follows:
-l 5 | 6
List all possible vendor specific counters. The argument specifies
which ``family'' to display; it defaults to the
``family''
designation of the current processor.
The pctr program exits with a value of 0 on success or 1 on
failure.
pctr(4)
The pctr program appeared in OpenBSD 2.0.
The pctr program is still orientated towards Intel brand microprocessors.
OpenBSD 3.6 August 30, 1998
[ Back ] |