[all-commits] [llvm/llvm-project] 76f199: [llvm-exegesis] Add support for validation counters
Aiden Grossman via All-commits
all-commits at lists.llvm.org
Sat Dec 30 22:16:19 PST 2023
Branch: refs/heads/users/boomanaiden154/exegesis-validation-counters-implementation
Home: https://github.com/llvm/llvm-project
Commit: 76f199f4fc7244c3d972736595c685d7316c5203
https://github.com/llvm/llvm-project/commit/76f199f4fc7244c3d972736595c685d7316c5203
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2023-12-30 (Sat, 30 Dec 2023)
Changed paths:
M llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp
M llvm/tools/llvm-exegesis/lib/BenchmarkResult.h
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h
M llvm/tools/llvm-exegesis/lib/LatencyBenchmarkRunner.cpp
M llvm/tools/llvm-exegesis/lib/LatencyBenchmarkRunner.h
M llvm/tools/llvm-exegesis/lib/PerfHelper.cpp
M llvm/tools/llvm-exegesis/lib/PerfHelper.h
M llvm/tools/llvm-exegesis/lib/Target.cpp
M llvm/tools/llvm-exegesis/lib/Target.h
M llvm/tools/llvm-exegesis/lib/UopsBenchmarkRunner.cpp
M llvm/tools/llvm-exegesis/lib/UopsBenchmarkRunner.h
M llvm/tools/llvm-exegesis/lib/X86/Target.cpp
M llvm/tools/llvm-exegesis/lib/X86/X86Counter.cpp
M llvm/tools/llvm-exegesis/llvm-exegesis.cpp
M llvm/unittests/tools/llvm-exegesis/ClusteringTest.cpp
M llvm/unittests/tools/llvm-exegesis/Mips/BenchmarkResultTest.cpp
M llvm/unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp
Log Message:
-----------
[llvm-exegesis] Add support for validation counters
This patch adds support for validation counters. Validation counters can
be used to measure events that occur during snippet execution like cache
misses to ensure that certain assumed invariants about the benchmark
actually hold. Validation counters are setup within a perf event group,
so are turned on and off at exactly the same time as the "group leader"
counter that measures the desired value.
More information about the All-commits
mailing list