LIBPFM(3)

πŸ’– LIBPFM(3) β€” the libpfm_intel_snbep_unc_r3qpi page, but make it make sense πŸ’–

okay bestie, welcome to the Linux Programmer's Manual, but the fun version ✨ this is the manual page for libpfm's Intel Sandy Bridge-EP R3QPI uncore PMU support, and yes we're gonna get into it πŸŽ€


✨ NAME ✨

libpfm_intel_snbep_unc_r3qpi β€” support for Intel Sandy Bridge-EP R3QPI uncore PMU πŸ¦‹


🌸 SYNOPSIS 🌸

#include <perfmon/pfmlib.h>

PMU name: snbep_unc_r3qpi0, snbep_unc_r3qpi0

PMU desc: Intel Sandy Bridge-EP R3QPI uncore PMU

(yes bestie, the PMU name is listed twice in the original and I am not about to gaslight you by pretending it isn't πŸ’…)


πŸ’œ DESCRIPTION πŸ’œ

So like, this library? It supports the Intel Sandy Bridge R3QPI uncore PMU. iconic behavior honestly πŸ‘‘

But here's the tea β˜• β€” this PMU model only exists on Sandy Bridge model 45. Nowhere else. She's exclusive, she's niche, she's giving limited edition πŸŽ€

And per processor socket? There are two R3QPI PMUs. Two of them. Per socket. So don't go assuming there's just one, because there is not πŸ™ˆ


🧚 MODIFIERS 🧚

okay so these are the modifiers that are supported on the Intel Sandy Bridge R3PQI uncore PMU β€” and bestie, you're gonna wanna know all of them, no skipping 🫢

  • i β€” Invert the meaning of the event. The counter will now count R3QPI cycles in which the event is not occurring. This is a boolean modifier. she flips the whole vibe, fr fr πŸ’…
  • e β€” Enable edge detection, i.e., 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. This is a boolean modifier. so like, e alone? not a thing. she needs her friend t πŸ«‚
  • t β€” Set the threshold value. When set to a non-zero value, the counter counts the number of R3QPI cycles in which the number of occurrences of the event is greater or equal to the threshold. This is an integer modifier with values in the range [0:15]. keep it in range bestie, don't get weird with it πŸ”₯
ngl, e without t is a no. They're a package deal. it's giving soulmates 😭

πŸ‘‘ AUTHORS πŸ‘‘

Stephane Eranian <eranian@gmail.com>


and that's the whole page, bestie πŸ’– periodt ✨

this was the LIBPFM(3) page from the Linux Programmer's Manual, dated August, 2012 β€” shoutout to that era, she's vintage and she ate 🌈

πŸ“¦ where this page comes from