Manual Page Search Parameters

PMC.SOFT(3) Library Functions Manual PMC.SOFT(3)

pmc.softmeasurements using software based events

Performance Counters Library (libpmc, -lpmc)

#include <pmc.h>

Software events are used to collect various source of software events.

16 sampling counters using software events based on various sources. These PMCs support the following capabilities:

PMC_CAP_CASCADE No
PMC_CAP_EDGE No
PMC_CAP_INTERRUPT Yes
PMC_CAP_INVERT No
PMC_CAP_READ Yes
PMC_CAP_PRECISE No
PMC_CAP_SYSTEM Yes
PMC_CAP_TAGGING No
PMC_CAP_THRESHOLD No
PMC_CAP_USER Yes
PMC_CAP_WRITE Yes

There is no supported event qualifier.

The event specifiers supported by software are:

Hard clock ticks.
Stat clock ticks.
Profiling clock ticks.
Interrupt filter executed
Interrupt filter returned FILTER_HANDLED.
Interrupt filter returned FILTER_SCHEDULE_ITHREAD.
Ithread scheduled.
Interrupt filter returned FILTER_STRAY.
Ithread not scheduled, already active.
Lock acquisition failed.
All page fault type.
Read page fault.
Write page fault.

pmc(3), pmc.amd(3), pmc.atom(3), pmc.core(3), pmc.corei7(3), pmc.corei7uc(3), pmc.iaf(3), pmc.tsc(3), pmc.ucf(3), pmc.westmereuc(3), pmc_cpuinfo(3), pmclog(3), hwpmc(4)

The pmc library first appeared in FreeBSD 6.0.

The Performance Counters Library (libpmc, -lpmc) library was written by Joseph Koshy <jkoshy@FreeBSD.org>. Software PMC was written by Fabien Thomas <fabient@FreeBSD.org>.

September 23, 2021 dev