Main index | Section 3 | Options |
#include <pmc.h>
The invoking process needs to have the PRIV_PMC_MANAGE privilege to perform these operations.
Function pmc_disable() disables the hardware counter numbered by argument pmc on CPU number cpu.
Function pmc_enable() enables the hardware counter numbered by argument pmc on CPU number cpu.
[EBUSY] | |
Function pmc_disable() specified a hardware PMC is currently in use. | |
[EINVAL] | |
Arguments cpu or pmc were invalid. | |
[ENXIO] | |
Argument cpu specified a disabled or absent CPU. | |
[EPERM] | |
The current process lacks sufficient privilege to perform this operation. | |
PMC_ENABLE (3) | September 22, 2008 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.