LIBPFM(3)

πŸ’– LIBPFM β€” libpfm_intel_icx_unc_m2pcie πŸ’–

okay bestie, welcome to the Linux Programmer's Manual page for libpfm_intel_icx_unc_m2pcie, which is a whole little corner of libpfm that deals with the Intel IcelakeX Server M2PCIE uncore PMU. yes it's a mouthful. no we're not scared of it. let's go πŸ¦‹


✨ NAME ✨

libpfm_intel_icx_unc_m2pcie β€” support for Intel IcelakeX Server M2PCIE uncore PMU


🌸 SYNOPSIS 🌸

#include <perfmon/pfmlib.h>
  • PMU name: icx_unc_m2pcie[0-2]
  • PMU desc: Intel IcelakeX M2PCIE uncore PMU

πŸ’… DESCRIPTION πŸ’…

So. The library supports the Intel IcelakeX M2PCIE (Mesh to IIO) uncore PMU. That's the vibe. 🫢

And each M2PCIE PMU implements 4 generic counters. four. that's it. that's the whole counter situation. periodt.


πŸŽ€ MODIFIERS πŸŽ€

The following modifiers are supported on Intel IcelakeX M2PCIE uncore PMU β€” like little seasoning packets you sprinkle onto your event, iykyk:

  • 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.
not me stressing that e alone does nothing β€” it literally needs its t bestie or it's not valid. duo or nothing. πŸ’€
  • t β€” Set the threshold value. When set to a non-zero value, the counter counts the number of M2PCIE clockticks 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:255].
  • i β€” Invert the threshold (t) test from strictly greater than to less or equal to. This is a boolean modifier.
lowkey iconic that i flips the whole comparison. the way it just reverses the t logic like it owns the place. πŸ‘‘

πŸ‘‘ AUTHORS πŸ‘‘

Stephane Eranian <eranian@gmail.com>


and that's the whole page, bestie 🌈 go forth and count your M2PCIE clockticks responsibly. this was the LIBPFM(3) page, straight out of the Linux Programmer's Manual, dated November, 2023 β€” fr fr, that's the source, that's the version, that's the date, and that's the sign-off πŸ’–πŸŽ€πŸ¦‹