[all-commits] [llvm/llvm-project] 999a8b: [llvm-exegesis][NFC] remove runAndMeasure
Aiden Grossman via All-commits
all-commits at lists.llvm.org
Fri Apr 14 00:16:58 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 999a8b8ce92742911cc5ad16a279340931339efc
https://github.com/llvm/llvm-project/commit/999a8b8ce92742911cc5ad16a279340931339efc
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2023-04-14 (Fri, 14 Apr 2023)
Changed paths:
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h
M llvm/tools/llvm-exegesis/lib/UopsBenchmarkRunner.cpp
Log Message:
-----------
[llvm-exegesis][NFC] remove runAndMeasure
This completes the FIXME listed in FunctionExecutor in regards to
deprecating this function. It simply makes the appropriate call into
runAndSample and grabs the first counter value. This patch completely
removes the function, moving that logic into the callers (currently only
uopsBenchmarkRunner). This makes creating new FunctionExecutors easier
as an implementation no longer needs to worry about this detail.
Reviewed By: gchatelet
Differential Revision: https://reviews.llvm.org/D147878
More information about the All-commits
mailing list