LIBPFM(3)
π LIBPFM π
(that's the libpfm page from the Linux Programmer's Manual, bestie β section 3, the library girlies β¨)
πΈ NAME πΈ
libpfm_intel_spr_unc_upi β support for the Intel SapphireRapids Server UPI uncore PMU π¦
β¨ SYNOPSIS β¨
#include <perfmon/pfmlib.h>
- PMU name:
spr_unc_upi[0-3] - PMU desc: Intel SapphireRapids UPI uncore PMU
π DESCRIPTION π
okay so. This library supports the Intel SapphireRapids UPI β that's Ultra Path Interconnect, iykyk β uncore PMU. π
And literally, each UPI PMU implements 4 generic counters. four. that's the whole count. iconic behavior honestly. π₯
π MODIFIERS π
here's the modifiers that are supported on the Intel SapphireRapids UPI uncore PMU, bestie, don't skip these:
eβ turns on edge detection, meaning it counts only when there's a state transition, going from zero occurrences of the event to at least one occurrence. π« But heads up: this modifier must be combined with a threshold modifier (t) with a value greater or equal to one. It's a boolean modifier.tβ sets the threshold value. When you set it to a non-zero value, the counter counts the number of IRP clockticks in which the number of occurrences of the event is greater or equal to the threshold. This is an integer modifier, and the values live in the range[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> β periodt. π«Ά
and that's the whole page, bestie!! π this one came out of the Linux Programmer's Manual, it's LIBPFM(3), and it's stamped January, 2024 β so if you're reading it way later, that's the vintage. πΈ mwah, go count some clockticks π¦β¨
π¦ where this page comes from
- arch rolling: libpfm 4.14.1-1 Β· MIT
- centos-stream 10: libpfm-devel 4.14.1-1.el10 Β· MIT
- centos-stream 9: libpfm-devel 4.14.1-1.el9 Β· MIT
- centos-stream 9: libpfm-devel 4.14.1-1.el9 Β· MIT
- debian trixie: libpfm4-dev 4.13.0+git99-gc5587f9-1 Β· MIT
- fedora 43: libpfm-devel 4.14.1-2.fc43 Β· MIT
- fedora 43: libpfm-devel 4.14.1-2.fc43 Β· MIT
- fedora 44: libpfm-devel 4.14.1-2.fc44 Β· MIT
- fedora 44: libpfm-devel 4.14.1-2.fc44 Β· MIT
- nixos 26.05: papi 7.2.0
- nixpkgs unstable: libpfm 4.14.1
- nixpkgs unstable: papi 7.2.0
- ubuntu questing: libpfm4-dev 4.13.0+git99-gc5587f9-1
- ubuntu resolute: libpfm4-dev 4.13.0+git106-g3e4031b-1 Β· MIT
- ubuntu resolute: libpfm4-dev 4.13.0+git106-g3e4031b-1ubuntu0.1 Β· MIT
- ubuntu stonking: libpfm4-dev 4.13.0+git106-g3e4031b-1ubuntu1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms