aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
diff options
context:
space:
mode:
authorAiden Grossman <agrossman154@yahoo.com>2024-01-30 12:42:35 -0800
committerGitHub <noreply@github.com>2024-01-30 12:42:35 -0800
commitd8b61d716899736c7f0444d1b18b8e1a536c3472 (patch)
tree3b3acc81a01ceed6f2a2424e1ed58a33a1c96900 /clang/lib/Basic/FileManager.cpp
parent6a21e00e397648141ed36aae4bd958efa09908f3 (diff)
downloadllvm-d8b61d716899736c7f0444d1b18b8e1a536c3472.zip
llvm-d8b61d716899736c7f0444d1b18b8e1a536c3472.tar.gz
llvm-d8b61d716899736c7f0444d1b18b8e1a536c3472.tar.bz2
[llvm-exegesis] Add middle half repetition mode (#77020)
This patch adds two new repetition modes to llvm-exegesis, particularly loop and duplicate repetition modes of what I am terming the middle half repetition mode. The middle half repetition mode essentially runs each measurement twice, one with twice the number of iterations of the other. These two measurements are then agregated by taking their difference. This subtracts away any setup/overhead that is unrelated to the code in the snippet, providing more accurate results. Using this mode on a couple toy examples, I am able to get exact (integer) throughput values on all of them in contrast to the default duplicate/loop repetition modes which show a little bit of noise on the snippet value.
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions