Skip to content

Commit

Permalink
BM: fix the issue of yogini parameter error
Browse files Browse the repository at this point in the history
This patch is to fix the following issue:
cd workload-xsave/build
../start_test.sh -1 100 AMX memcpy MEM SSE RDTSC UMWAIT TPAUSE PAUSE DOTPROD
AVX512 AVX2 AVX
trace-cmd record -e x86_fpu -F ./yogini -b 1 -r 100 -w AMX -w memcpy -w MEM
-w SSE -w RDTSC -w UMWAIT -w TPAUSE -w PAUSE -w DOTPROD -w AVX512 -w AVX2 -w AVX
usage: ./yogini [OPTIONS]

./yogini runs some simple micro workloads
  -w, --workload [workload_name,threads#,break#, ...]
Available workloads:  AMX memcpy MEM SSE RDTSC UMWAIT TPAUSE PAUSE DOTPROD AVX512
                      AVX2 AVX
  -r, --repeat, each instance needs to be run
  -b, --break_reason, [yield/sleep/trap/signal/futex]
For more help, see README

Signed-off-by: Zheng Wu <[email protected]>
  • Loading branch information
wzhen12 committed Sep 3, 2024
1 parent 66f6730 commit 55632e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BM/workload-xsave/start_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ test_single () {

# mode2: test workloads in all break_reason
test_all () {
for ((i=1; i<=5; i++))
break_reasons=("yield" "sleep" "trap" "signal" "futex")
for break_reason in "${break_reasons[@]}";
do
break_reason=$i
test_single
done
}
Expand Down

0 comments on commit 55632e8

Please sign in to comment.