|
NAMEpmc_read , pmc_rw ,
pmc_write —
read and write hardware performance counters
LIBRARYPerformance Counters Library (libpmc, -lpmc)SYNOPSIS#include <pmc.h>
int
int
int
DESCRIPTIONThese functions read and write the current value of a PMC.Function Function Function For write operations the PMC should be a quiescent state. RETURN VALUESUpon successful completion, the value 0 is returned; otherwise the value -1 is returned and the global variable errno is set to indicate the error.ERRORSA call to these functions may fail with the following errors:SEE ALSOpmc(3), hwpmc(4)
Visit the GSP FreeBSD Man Page Interface. |