|
NAMEpmc.iaf —
measurement events for Intel fixed function performance
counters.
LIBRARYPerformance Counters Library (libpmc, -lpmc)SYNOPSIS#include <pmc.h>
DESCRIPTIONIntel fixed-function PMCs are present in CPUs that conform to version 2 or later of the Intel Performance Measurement Architecture. Each fixed-function PMC measures a specific hardware event. The number of fixed-function PMCs implemented in a CPU can vary. The number of fixed-function PMCs present can be determined at runtime by using function pmc_cpuinfo(3).Intel fixed-function PMCs are documented in Volume 3: System Programming Guide, IA-32 Intel(R) Architecture Software Developer's Manual, Order Number 253669-027US, Intel Corporation, July 2008. PMC CapabilitiesFixed-function PMCs support the following capabilities:
Class Name PrefixThese PMCs are named using a class name prefix of “iaf- ”.
Event Qualifiers (Fixed Function PMCs)These PMCs support the following modifiers:
If neither of the “ Event Specifiers (Fixed Function PMCs)The fixed function PMCs are selectable using the following event names:
EXAMPLESTo measure the number of core cycles for which the core was not halted use the event specifier “iaf-cpu-clk-unhalted.core”.To measure the number of user instructions retired use the event specifier “iaf-instr-retired.any,usr”. To measure the number of user instructions retired on all logical processors in an Atom CPU, use the event specifier “iaf-instr-retired.any,usr,anythread”. SEE ALSOpmc(3), pmc.atom(3), pmc.core(3), pmc.core2(3), pmc.k7(3), pmc.k8(3), pmc.soft(3), pmc.tsc(3), pmc_cpuinfo(3), pmclog(3), hwpmc(4)HISTORYThepmc library first appeared in
FreeBSD 6.0.
AUTHORSThe Performance Counters Library (libpmc, -lpmc) library was written by Joseph Koshy <jkoshy@FreeBSD.org>.
Visit the GSP FreeBSD Man Page Interface. |