- NetBSD Manual Pages
PMC(1) NetBSD General Commands Manual PMC(1)
Powered by man-cgi (2021-06-01).
Maintained for NetBSD
by Kimmo Suominen.
Based on man-cgi by Panagiotis Christias.
pmc -- performance-monitoring counter interface for command execution
pmc -c event command [options ...]
pmc is a means of using a processor's performance-monitoring counter
(PMC) facility to measure various aspects of a program's execution. It
is meant to be used in a fashion similar to time(1).
The arguments are as follows:
-h Display a list of performance counter events available on the
-C Cancel any performance counters that are currently running.
Count the event specified by event while running the command.
PMC support is not compiled into the kernel Performance-monitoring
counter support has not been compiled into the kernel. It may be
included using the PERFCTRS option. See options(4) for details.
PMC counters are not supported by CPU Performance-monitoring counters
are not available for the CPU.
The pmc command first appeared in NetBSD 1.6.
The pmc command was written by Frank van der Linden
<email@example.com>. The kernel support for reading performance
counters on the i386 architecture was written by
Jason R. Thorpe <firstname.lastname@example.org>.
The pmc command currently only supports performance-monitoring counters
on the i386 architecture.
NetBSD 4.0 October 24, 2000 NetBSD 4.0