LIBPFM(3)

πŸ’– LIBPFM πŸ’–

okay bestie, this is a page from the Linux Programmer's Manual, section 3 β€” and it's literally all about libpfm_intel_ivbep_unc_ha, the support for the Intel Ivy Bridge-EP Home Agent (HA) uncore PMU. yes it's a mouthful. yes it slays anyway. πŸŽ€


✨ NAME ✨

libpfm_intel_ivbep_unc_ha β€” support for Intel Ivy Bridge-EP Home Agent (HA) uncore PMU

like. that's the whole name. it's giving very specific and we respect that πŸ’…


🌸 SYNOPSIS 🌸

#include <perfmon/pfmlib.h>

PMU name: ivbep_unc_ha0, ivbep_unc_ha1

PMU desc: Intel Ivy Bridge-EP HA uncore PMU

see those two names? two whole PMUs. twin icons fr fr πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

so the library supports the Intel Ivy Bridge Home Agent (HA) uncore PMU. that's the vibe. 🫢

and this PMU model only exists on Ivy Bridge model 62 β€” like, that's its whole exclusive little club, no other model gets in. periodt. πŸ’€


πŸ’œ MODIFIERS πŸ’œ

these are the modifiers that are supported on the Intel Ivy Bridge HA uncore PMU β€” there's two, and honestly they're kind of a package deal (you'll see):

  • e β€” turns on edge detection, i.e. it counts only when there's a state transition from no occurrence of the event to at least one occurrence. but babes, plot twist: this modifier must be combined with a threshold modifier (t) whose value is greater or equal to one. it's a boolean modifier, so it's on or off, no in-between. ✨
  • t β€” sets the threshold value. when you set it to a non-zero value, the counter counts the number of HA cycles in which the number of occurrences of the event is greater or equal to the threshold. this one's an integer modifier, and its values live in the range [0:255]. no cap, that's the range. πŸ”₯
lowkey important: that e modifier is not doing anything on its own β€” it needs t to be at least 1 or it's just standing there. pair them up, bestie. πŸŽ€

πŸ‘‘ AUTHORS πŸ‘‘

Stephane Eranian <eranian@gmail.com>


and that's the whole page!! mwah πŸ’– sending u off with the classic sign-off: this beauty comes from LIBPFM(3), dated February, 2014 β€” vintage, iconic, still serving. πŸŒˆβ­πŸ“πŸ§š

πŸ“¦ where this page comes from