Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/pmc.h
Show First 20 Lines • Show All 735 Lines • ▼ Show 20 Lines | struct pmc { | ||||
volatile cpuset_t pm_stalled; /* marks stalled sampling PMCs */ | volatile cpuset_t pm_stalled; /* marks stalled sampling PMCs */ | ||||
volatile cpuset_t pm_cpustate; /* CPUs where PMC should be active */ | volatile cpuset_t pm_cpustate; /* CPUs where PMC should be active */ | ||||
uint32_t pm_caps; /* PMC capabilities */ | uint32_t pm_caps; /* PMC capabilities */ | ||||
enum pmc_event pm_event; /* event being measured */ | enum pmc_event pm_event; /* event being measured */ | ||||
uint32_t pm_flags; /* additional flags PMC_F_... */ | uint32_t pm_flags; /* additional flags PMC_F_... */ | ||||
struct pmc_owner *pm_owner; /* owner thread state */ | struct pmc_owner *pm_owner; /* owner thread state */ | ||||
int pm_runcount; /* #cpus currently on */ | int pm_runcount; /* #cpus currently on */ | ||||
enum pmc_state pm_state; /* current PMC state */ | enum pmc_state pm_state; /* current PMC state */ | ||||
uint32_t pm_overflowcnt; /* count overflow interrupts */ | |||||
/* | /* | ||||
* The PMC ID field encodes the row-index for the PMC, its | * The PMC ID field encodes the row-index for the PMC, its | ||||
* mode, class and the CPU# associated with the PMC. | * mode, class and the CPU# associated with the PMC. | ||||
*/ | */ | ||||
pmc_id_t pm_id; /* allocated PMC id */ | pmc_id_t pm_id; /* allocated PMC id */ | ||||
▲ Show 20 Lines • Show All 410 Lines • Show Last 20 Lines |