LIBPFM(3)

πŸ’– LIBPFM(3) β€” bestie's guide to the Linux Programmer's Manual page for libpfm_intel_snbep_unc_ha πŸŽ€

okay so sit down, grab a strawberry πŸ“, because we're learning about libpfm_intel_snbep_unc_ha β€” that's the LIBPFM(3) entry from the Linux Programmer's Manual, and it's lowkey iconic.


✨ NAME ✨

libpfm_intel_snbep_unc_ha β€” the support squad for the Intel Sandy Bridge-EP Home Agent (HA) uncore PMU. that's it. that's the name. 🫢


🌸 SYNOPSIS 🌸

#include <perfmon/pfmlib.h>

so like, the deets:

  • PMU name: snbep_unc_ha
  • PMU desc: Intel Sandy Bridge-EP HA uncore PMU

πŸ¦‹ DESCRIPTION πŸ¦‹

this library has your back for the Intel Sandy Bridge Home Agent (HA) uncore PMU. ✨

important tea: this PMU model only exists on Sandy Bridge model 45. no 45, no HA, periodt. πŸ’…

and there is only one Home Agent per processor socket. one. singular. main character energy, no plus-ones. πŸ‘‘


πŸ’… MODIFIERS πŸ’…

here's the modifiers situation β€” the following modifiers are supported on Intel Sandy Bridge C-Box uncore PMU:

  • i β€” invert the meaning of the event, bestie. the counter will now count HA cycles in which the event is not occurring. this is a boolean modifier, so it's giving on/off. πŸ”„
  • e β€” enable edge detection. translation: count only when there is a state transition from no occurrence of the event to at least one occurrence. ⚠️ this modifier must be combined with a threshold modifier (t) with a value greater or equal to one. it's a boolean modifier too.
  • t β€” set 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 is an integer modifier with values in the range [0:255]. πŸ“

πŸ’œ AUTHORS πŸ’œ

Stephane Eranian <eranian@gmail.com> β€” thank you for your service, king πŸ«ΆπŸ‘‘


and that's the whole vibe check, bestie β€” this page is from the Linux Programmer's Manual, filed under LIBPFM(3), dated August, 2012. slay, go count some cycles, and remember: only one Home Agent per socket. no cap. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from