LIBPFM(3)

πŸŽ€ NAME πŸŽ€

okay so bestie, this page is for libpfm_intel_nhm_unc β€” it's literally support for Intel Nehalem uncore PMU πŸ’…

And just so the vibe is clear, this lives in the Linux Programmer's Manual, with that LIBPFM(3) energy.


✨ SYNOPSIS ✨

#include <perfmon/pfmlib.h>

PMU name: nhm_unc
PMU desc: Intel Nehalem uncore

🌸 DESCRIPTION 🌸

This library has your back for the Nehalem uncore PMU as implemented by processors such as Intel Core i7, and Intel Core i5.

This PMU sits at the socket-level, so it's shared between the various cores. By construction, it can only measure at all privilege levels.

πŸ’– MODIFIERS πŸ’–

These are the modifiers supported on Intel Nehalem processors:

  • i β€” Inverts what the event means. Now the counter counts cycles where the event isn't occurring. This is a boolean modifier.
  • e β€” Turns on edge detection, so it counts only when there's a state transition. This is a boolean modifier.
  • c β€” Sets the counter mask value. That mask is a threshold, and the counter counts the number of cycles where the event occurrences are greater than or equal to the threshold. This is an integer modifier, with values in the range [0:255].
  • o β€” Makes the queue occupancy counter associated with the event get cleared (zeroed). This is a boolean modifier.

πŸ‘‘ AUTHORS πŸ‘‘

Stephane Eranian <eranian@gmail.com>


This was the Linux Programmer's Manual, tagged LIBPFM(3), dated September, 2009 β€” stay slaying, bestie πŸ’–βœ¨

πŸ“¦ where this page comes from