[PATCH] D148079: [llvm-exegesis] Refactor common parts out of FunctionExecutorImpl
Aiden Grossman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 12 02:05:06 PDT 2023
aidengrossman created this revision.
Herald added a subscriber: mstojanovic.
Herald added a project: All.
aidengrossman requested review of this revision.
Herald added subscribers: llvm-commits, courbet.
Herald added a project: LLVM.
This patch refactors some code out of FunctionExecutorImpl into the base
class that should be common across all implementations of
FunctionExecutor. Particularly, this patch factors out
accumulateCounterValues, and also factors out runAndSample, moving
implementation specific code into a new runWithCounter function. This
makes adding new implementations of FunctinExecutor easier.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D148079
Files:
llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148079.512694.patch
Type: text/x-patch
Size: 6425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230412/15be2e30/attachment.bin>
More information about the llvm-commits
mailing list