[PATCH] D47813: [llvm-exegesis] move Mode from Key to BenchmarResult.
Guillaume Chatelet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 6 02:07:43 PDT 2018
gchatelet created this revision.
gchatelet added a reviewer: courbet.
Herald added subscribers: llvm-commits, tschuett.
Moves the Mode field out of the Key. The existing yaml benchmark results can be fixed with the following script:
shell
#!/bin/bash
readonly FILE=$1
readonly MODE=latency # Change to uops to fix a uops benchmark.
cat $FILE | \
sed "/^\ \+mode:\ \+$MODE$/d" | \
sed "/^cpu_name.*$/i mode: $MODE"
Repository:
rL LLVM
https://reviews.llvm.org/D47813
Files:
tools/llvm-exegesis/lib/Analysis.cpp
tools/llvm-exegesis/lib/BenchmarkResult.cpp
tools/llvm-exegesis/lib/BenchmarkResult.h
tools/llvm-exegesis/lib/BenchmarkRunner.cpp
tools/llvm-exegesis/lib/BenchmarkRunner.h
tools/llvm-exegesis/lib/Latency.cpp
tools/llvm-exegesis/lib/Latency.h
tools/llvm-exegesis/lib/Uops.cpp
tools/llvm-exegesis/lib/Uops.h
unittests/tools/llvm-exegesis/BenchmarkResultTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47813.150091.patch
Type: text/x-patch
Size: 8494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180606/d5cb1331/attachment.bin>
More information about the llvm-commits
mailing list