The maintainer has not written a description at the source.
Repo intel/perfmon, read from GitHub 11 h ago. intel has not joined Take My Repo.
intel/perfmon is a public repo on GitHub by intel. It declares the BSD-3-Clause license on GitHub. It is written mainly in Python, has 410 stars and last changed on 2026-11-20. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-24.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
Perfmon Metrics is a set of metric files and scripts used to perform performance analysis of systems. This repo has three parts
List of generically formatted json files for metric equations per platform
Scripts for processing the generic format of the metric equations into common tool formats
Documentation on how to analyze the metric and the output
MetricName: The string name of the metric being defined.
Level: Integer value representing the relationship of this metric in a hierarchy of metrics. This field can be used along with "ParentCategory" to define a tree structure of metrics. Root level metrics have a level of 1.
BriefDescription: The description of what the metric is measuring. Long descriptions will be in the documents section of this GitHub.
UnitOfMeasure: The unit of measure for a metric, can be time, frequency, number of samples, percent.
Events: List of events and their alias which is used in the formula.
Name: The name of the event from the JSON event list in the event list folder. May change per platform.
Alias: The alias used for the event in the formula.
Constants: List of constants required for the given metric with the same fields as those defined for the event list: Name and Alias.
Formula: String providing the arithmetic to be performed to form the metric value based on the provided aliases.
Category: Useful tagging for the metric. Intended to be used for parsing when creating a subset of metrics list. Some categories will be general, IO, TMA, microservices
Threshold: When the threshold evaluates as true then it indicates that this metric is meaningful for the current analysis. <sign> X requires that the value of the node should hold true the relationship with X. P requires that the nodes parent needs to pass the threshold for this to be true. ; separator, & and, | or $issueXX is a unique tag that associates together multiple nodes from different categories of the tree. For example, Bad_Speculation is tightly coupled with Branch_Resteers (from the Frontend_Bound Category). ~overlap indicates a weight of a specific node overlaps with its siblings. I.e. their costs are not mutually exclusive. For example, value of Branch_Resteers may overlap with ICache_Misses.
Example: > 0.2 & P means the current node's values is above 20% and the Parent node is highlighted.
ResolutionLevels: List of resolution levels that tools can choose to compute for the given metric. For example, if the list contains THREAD, then the metric can be computed at a per thread level. The metric is not valid when data is aggregated at a level not present in the resolution level list. If the list contains THREAD, CORE, SOCKET, SYSTEM then this indicates that a tool can choose to compute this metric at the thread level, or aggregate counts across core or socket or system level to report a broader metric resolution.
MetricGroup: Grouping for perf, further explanation added on perf script release.
Python3+
perf v6.0 (recommend the newest version of perf available)
linux kernel version v5.11
The perf script in /scripts will take the metrics.json file and convert that generic format to a perf specific metrics file. See the pre-built metrics_icx_perf.json file in the scripts folder as a perf compatible version of the metrics that the script will generate.
How to build with perf
1.1 Create working directory
mkdir perfmon-metrics
cd perfmon-metrics
1.2 Clone the metric repository into the working directory
git clone https://github.com/intel/perfmon.git
1.3 Clone a copy of linux source code
git clone https://github.com/torvalds/linux.git
1.4 Copy the ICX metric file in the linux perf codebase
cp ICX/metrics/perf/icx_metrics_perf.json <linux kernel source root dir>/tools/perf/pmu-events/arch/x86/icelakex/
1.5 Build linux perf (Note: You will need to install dependencies)
cd <linux kernel source root directory>/tools/perf
make
Local copy of perf will now be built with the new metrics for Icelake systems
./perf stat -M <metric_name> -a -- <app>
Examples
./perf stat -M cpu_utilization_percent -a -- ./mlc
In this repository there are three, related, metrics file types.
| Files | Description and Additional Information |
|---|---|
TMA_Metrics.xlsxAtom_TMA.xlsxE-core_TMA_Metrics.xlsx |
Official TMA releases. Performance architect maintained metrics for Top-down analysis methodology. - Ahmad Yasin, "A Top-Down method for performance analysis and counters architecture", ISPASS 2014 - Intel® VTune™ Top-down Microarchitecture Analysis Method [^vtune_footnote] |
TMA_Metrics.csvTMA_Metrics-full.csvE-core_TMA_Metrics.csvAtom_TMA.csv |
CSV formatted metrics from the above .xlsx spreadsheets. |
{platform}/metrics |
JSON formatted metrics intended for performance monitoring tools. Full description in the previous documentation section. |
[^vtune_footnote]: Intel, the Intel logo and VTune are trademarks of Intel Corporation or its subsidiaries.
Retire latency is available in the basic group of PEBS records.
Retire Latency field, bits
15:0– Indicates the elapsed cycles between the retirement of the architecturally visible instruction that caused PEBS and the prior instruction retirement. The measurement reflects core unhalted cycles (at the pace of Fixed-Function Counter 1) and is reported for any PEBS, regardless of whether precise or non-precise events are programmed. The count saturates at 216-1. [^retire_latency_footnote]
TMA metrics such as DRAM Bound / MEM_Latency / Local_Mem depend on a retire latency value. These
metrics can either use a default value or one collected during analysis. Default values are
provided in this repo in */metrics/*_retire_latency.json.
[^retire_latency_footnote]: Intel® Architecture Instruction Set Extensions Programming Reference section 11.4.1.
This package contains performance monitoring event lists for Intel® processors, as well as a mapping file to help match event lists to processor Family/Model/Stepping codes.
Event lists are available in JSON (.json) format.
Event lists are created per microarchitecture, and each has a version. Versions are listed in the event list header for each file and mapfile.csv. For some microarchitectures, up to three different event lists will be available. These event lists correspond to the types of events that can be collected:
| Event Type | Description |
|---|---|
| core | Contains events counted from within a logical processor core. Core event list files also include offcore events (starting with CLX). |
| uncore | Contains events related to logic outside of the CPU core. Refer to the Uncore Performance Monitoring Reference Manuals for additional information. |
| uncore_experimental | Contains events related to logic outside of the CPU core. For additional information refer to the Uncore Performance Monitoring Reference Manuals above. Uncore experimental files contain events that PMU architects publish, but their behavior is currently unverified. |
| matrix | Contains matrix events counted from the core, but measuring responses that come from offcore. |
The event list filename indicates which type of list it contains, and follows this format:
<microarchitecture-codename>_<core/uncore/uncore_experimental/matrix>
New version releases will be announced via GitHub. Please subscribe to release notifications.
Different microarchitectures provide different performance monitoring capabilities, so field names and categories of events may vary.
The following files are distributed under the terms of the 3-clause BSD license:
Other files in this package are ALL RIGHTS RESERVED.
Below is a list of the fields/headers in the event files and a description of how SW tools should interpret these values. A particular event list from this package may not contain all the fields described below. For more detailed information of the Performance monitoring unit please refer to chapters 18 and 19 of Intel® 64 and IA-32 Architectures Software Developer's Manual Volume 3B: System Programming Guide, Part 2.
https://www.intel.com/content/www/us/en/developer/articles/technical/intel-sdm.html
This field maps to the Event Select field in the IA32_PERFEVTSELx[7:0] MSRs. The set of values for this field
is defined architecturally. Each value corresponds to an event logic unit and should be used with a unit
mask value to obtain an architectural performance event.
This field maps to the Unit Mask field in the IA32_PERFEVTSELx[15:8] MSRs. It further qualifies the event logic
unit selected in the event select field to detect a specific micro-architectural condition.
This field maps to the Unit Mask 2 field in the IA32_PERFEVTSELx[47:40] MSRs. First introduced with architectural
performance monitoring version 6.
These bits qualify the condition that the selected event logic unit detects. Valid UMASK2 values for each event logic unit are specific to the unit. The new UMASK2 field may also be used in conjunction with UMASK.
:warning: UMaskExt will be renamed to UMask2 to align with the Intel® SDM. Please refer to
https://github.com/intel/perfmon/issues/357 for additional information.
It is a string of characters to identify the programming of an event.
This field contains a description of what is being counted by a particular event.
In some cases, this field will contain a more detailed description of what is counted by an event.
This field lists the fixed (PERF_FIXED_CTRX) or programmable (IA32_PMCX) counters that can be used to count the event.
This field lists the counters where this event can be sampled when Intel® Hyper-Threading Technology (Intel® HT Technology) is disabled. When Intel® HT Technology is disabled, some processor cores gain access to the programmable counters of the second thread, making a total of eight programmable counters available. The additional counters will be numbered 4,5,6,7. Fixed counter behavior remains unaffected. [^counterhtoff_footnote]
:warning: Starting with ICL, ICX, and subsequent platforms, CounterHTOff is not applicable and is accordingly not
published in event files. Downstream tools should reference Counter whether Intel® HT Technology is enabled or
disabled.
[^counterhtoff_footnote]: See NOTE in the Intel® SDM section, "Architectural Performance Monitoring Version 3".
Helps distinguish how the event counter must be configured and used.
FIXED: Fixed counters support a specific usage and have minimal reconfiguration support. They are typically programmed via the
FIXED_CTR_CTRL or UNCORE_FIXED_CTR_CTRLintel/perfmon is a public repo on GitHub by intel. Its maker has not written a description.
It declares the BSD-3-Clause license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-11-20. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run perfmon. What is known comes from GitHub. It declares the BSD-3-Clause license on GitHub. Its last change was on 2026-11-20. It has 410 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.