LIBPFM(3)

πŸ’– LIBPFM_INTEL_BDX_UNC_IMC β€” ok bestie, let's talk uncore πŸ’–

From the Linux Programmer's Manual, section 3, obviously ✨ this is libpfm_intel_bdx_unc_imc, and she's here to give you support for the Intel Broadwell Server Integrated Memory Controller (IMC) uncore PMU 🧚


🌸 SYNOPSIS 🌸

#include <perfmon/pfmlib.h>

PMU name: bdx_unc_imc[0-7]
PMU desc: Intel Broadwell Server IMC uncore PMU
Not the [0-7] bestie πŸ’… that's eight whole PMUs, she's got range.

πŸ¦‹ DESCRIPTION πŸ¦‹

So like, the library supports the Intel Broadwell Server Integrated Memory Controller (IMC) uncore PMU πŸ’– periodt.

And okay real talk β€” this PMU model only exists on various Broadwell server models (79, 86). If you're not on one of those, this is giving ✨ nothing ✨ for you, no cap.


πŸŽ€ MODIFIERS πŸŽ€

These are the modifiers supported on the Intel Broadwell server IMC uncore PMU, and bestie there are three, let's go 😭

  • e β€” turns on edge detection, which is the fancy way of saying "count only when there's a state transition from no occurrence of the event to at least one occurrence." πŸ¦‹ This one is a boolean modifier, and heads up: you must combine it with a threshold modifier (t) that has a value greater than or equal to one. Not optional, she's a package deal πŸ’…
  • 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 with values in the range [0:255] πŸ”₯
  • i β€” inverts the meaning of the threshold or edge filter. If set, the event counts when strictly less than N occurrences occur per cycle, where the threshold is set to N. When invert is set, then the threshold must be set to a non-zero value. And if set while edge detection is on, the event counts when the event transitions from occurring to not occurring β€” the falling edge πŸ“ This is a boolean modifier.
πŸ’€ lowkey the original manpage merged the i modifier into the t paragraph and it reads like one run-on sentence, but the facts are the facts and we're keeping every single one, periodt.

πŸ‘‘ AUTHORS πŸ‘‘

Stephane Eranian <eranian@gmail.com> β€” the icon who made this, we stan 🫢


June, 2017 πŸŽ€ that's when this page dropped, LIBPFM(3) babe, and that's the whole thing. You ate, bestie, go count some IMC cycles πŸ’–βœ¨πŸŒˆ

πŸ“¦ where this page comes from