PMC.UCF(3)

πŸ“¦
version 15.1 Β· 2 versions
, in freebsd 15.1

πŸ¦‹ pmc.ucf (PMC.UCF(3)) β€” measurement events for Intel uncore fixed function performance counters πŸ¦‹

Okay bestie, welcome to the Library Functions Manual page for pmc.ucf (PMC.UCF(3)): measurement events for Intel uncore fixed function performance counters. We are gonna go through every little detail together, periodt. πŸ’…

🌸 NAME 🌸

pmc.ucf β€” measurement events for Intel uncore fixed function performance counters. Slay. πŸ’–

πŸ“š LIBRARY πŸ“š

Performance Counters Library (libpmc, -lpmc) β€” yes, that's the one, bestie. 🫢

✨ SYNOPSIS ✨

#include <pmc.h>

πŸ’– DESCRIPTION πŸ’–

Okay so each fixed-function PMC measures a specific hardware event. The number of fixed-function PMCs implemented in a CPU can vary. The number of fixed-function PMCs present can be determined at runtime by using function pmc_cpuinfo(3). Highkey useful. πŸ”₯

Intel uncore fixed-function PMCs are documented in β€œVolume 3B: System Programming Guide, Part 2”, Intel(R) 64 and IA-32 Architectures Software Developes Manual, Order Number: 253669-033US, Intel Corporation, December 2009. That's the source, no cap. πŸ“š

πŸ’« PMC Capabilities πŸ’«

Fixed-function PMCs support the following capabilities, bestie:

  • PMC_CAP_CASCADE β€” support: No.
  • PMC_CAP_EDGE β€” support: No.
  • PMC_CAP_INTERRUPT β€” support: No.
  • PMC_CAP_INVERT β€” support: No.
  • PMC_CAP_READ β€” support: Yes.
  • PMC_CAP_PRECISE β€” support: No.
  • PMC_CAP_SYSTEM β€” support: No.
  • PMC_CAP_TAGGING β€” support: No.
  • PMC_CAP_THRESHOLD β€” support: No.
  • PMC_CAP_USER β€” support: No.
  • PMC_CAP_WRITE β€” support: Yes.

πŸŽ€ Class Name Prefix πŸŽ€

These PMCs are named using a class name prefix of ucf-. Cute. πŸŽ€

🌈 Event Specifiers (Fixed Function PMCs) 🌈

The fixed function PMCs are selectable using the following event names:

  • UCLOCK (Fixed Function Counter 0) β€” the fixed-function uncore counter increments at the rate of the U-clock. The frequency of the uncore clock domain can be determined from the uncore clock ratio which is available in the PCI configuration space register at offset C0H under device number 0 and Function 0. Iykyk. πŸ”₯

πŸ‘€ SEE ALSO πŸ‘€

Go read these too, bestie:

πŸ“œ HISTORY πŸ“œ

The pmc library first appeared in FreeBSD 6.0. ⭐

πŸ‘‘ AUTHORS πŸ‘‘

The Performance Counters Library (libpmc, -lpmc) library was written by Joseph Koshy <jkoshy@FreeBSD.org>. Iconic. πŸ‘‘


πŸ’– Debian edition, March 30, 2010 β€” PMC.UCF(3) signing off! Mwah, bestie! πŸ’–

πŸ“¦ where this page comes from
  • freebsd 15.1: base 15.1
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms