LIBPFM(3)

πŸ’– LIBPFM πŸ’–

okay bestie, this is a page from the Linux Programmer's Manual, and it's giving deep lore energy β€” we're talking LIBPFM(3) fr fr. Sit down, grab a strawberry πŸ“, and let me tell you about the Intel SapphireRapids Server IMC uncore PMU.


✨ NAME ✨

libpfm_intel_spr_unc_imc β€” the support squad for the Intel SapphireRapids Server Integrated Memory Controller (IMC) uncore PMU. that's it, that's the whole vibe 🫢


✨ SYNOPSIS ✨

#include <perfmon/pfmlib.h>
  • PMU name: spr_unc_imc[0-11]
  • PMU desc: Intel SapphireRapids Server IMC uncore PMU

like, twelve of them. 0 through 11. the whole clique showed up πŸ‘‘


✨ DESCRIPTION ✨

so basically? this library straight up supports the Intel SapphireRapids Server Integrated Memory Controller (IMC) uncore PMU. that's the tea β˜• no cap.


✨ MODIFIERS ✨

these are the little ✨flairs✨ you can sprinkle on this Intel SapphireRapids server IMC uncore PMU:

  • e β€” turns on edge detection, meaning it only counts when there's a state transition from zero occurrences of the event to at least one occurrence. important: you literally have to pair this with a threshold modifier (t) whose value is greater than or equal to one, or it's not gonna slay. this is a boolean modifier πŸ’…
  • t β€” sets the threshold value. when you set it to a non-zero value, the counter counts the number of IMC cycles in which the number of occurrences of the event is greater than or equal to the threshold. this is an integer modifier, and the valid range is [0:255] 🌈
  • i β€” inverts the threshold (t) test, flipping it from strictly greater than to less or equal to. this is a boolean modifier πŸ’œ

✨ AUTHORS ✨

  • Stephane Eranian <eranian@gmail.com>

give this legend their flowers πŸ’ periodt.


πŸ’€ quick vibe check: keep the e + t combo intact, bestie. edge detection alone is not the moment.

and that's the whole page, no notes 😌 this iconic little manual came to you courtesy of LIBPFM(3), dated January, 2024 β€” the manpage equivalent of a main character entrance πŸŽ€βœ¨ bye bestie, go count some cycles πŸ¦‹