|
NAMEpmc_get_driver_stats —
retrieve driver statistics
LIBRARYPerformance Counters Library (libpmc, -lpmc)SYNOPSIS#include <pmc.h>
int
DESCRIPTIONThe functionpmc_get_driver_statistics () retrieves a
snapshot of the usage statistics maintained by
hwpmc(4)
into the memory area pointed to by argument gms.
The returned structure includes the following fields:
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.SEE ALSOpmc(3), hwpmc(4)
Visit the GSP FreeBSD Man Page Interface. |