Skip site navigation (1)Skip section navigation (2)  FreeBSD Man
Pages  Man Page or Keyword Search: Man Architecture Apropos
Keyword Search (all sections) Output format home | help PMC(3)
FreeBSD Library Functions Manual                 PMC(3)
pmc -- library for accessing hardware performance monitoring
counters       Performance Monitoring Counters Interface Library
(libpmc, -lpmc)       #include <pmc.h>       The Performance
Monitoring Counters Interface Library (libpmc, -lpmc)
provides a programming interface that allows applications to use
hardware      performance counters to gather performance data
about specific processes      or for the system as a whole.  The
library is implemented using the      lower-level facilities
offered by the hwpmc(4) driver.     Key Concepts
Performance monitoring counters (PMCs) are represented by the
library      using a software abstraction.  These ``abstract''
PMCs can have two       +o  System scope.  These PMCs measure
events in a whole-system manner,          i.e.,