commit | 980d66caae62de9b56422a2fdce3f535c2ab325f | [log] [tgz] |
---|---|---|
author | Aiden Grossman <aidengrossman@google.com> | Mon Mar 31 10:58:24 2025 -0700 |
committer | GitHub <noreply@github.com> | Mon Mar 31 10:58:24 2025 -0700 |
tree | 92e83f17dbd79ae2dca396e267814f7ce4ff61b6 | |
parent | bfd8cc0a3e82c5e6345a66dd5db5242accb6874b [diff] |
[llvm-exegesis] Error Out If Perf Counter is Not Fully Enabled (#132892) Perf counters can be multiplexed if there are too many that need to be scheduled on a core at the same time (and they exceed the available PMUs). Other processes (especially system ones in certain environments, not commonly on Desktop Linux from what I've seen) can also interfere. This will impact the measurement fidelity as the counter is not actually counting cycles/uops the entire time. This patch makes it so that we error out in these cases so the user gets a visible indication things have gone wrong rather than things failing silently.
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.