Skip to content

Commit

Permalink
simplify rdtsc benchmark script
Browse files Browse the repository at this point in the history
jll63 committed Nov 28, 2024
1 parent 11b2720 commit d3a180a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/run-rdtsc-benchmark
Original file line number Diff line number Diff line change
@@ -7,11 +7,11 @@

count=$1
cache_state=$2
prog=${YOMM2_BENCHMARK-$(dirname $0)/../build/tests/rdtsc-benchmark}
prog=./benchmark_rdtsc

for i in $(seq $count); do
for dispatch in 'ovh' 'vf' 'ref' 'vp' 'iptr' 'sum' 'fum' 'stat_ref' 'stat_vp' 'stat_iptr' 'stat_sum' 'stat_fum'; do
$prog $dispatch $cache_state
$prog $dispatch 1 $cache_state
done
echo
done

0 comments on commit d3a180a

Please sign in to comment.