diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-01-10 15:54:08 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-01-10 15:54:08 +0100 |
commit | a30ffa52be405db50c660012c92e3e333412ed58 (patch) | |
tree | f157e359d62ffac34b8e513eb89b96989c17993d /SpMV/baselines/cpu/run-perf.sh | |
parent | e749fafbe527ff8a6ea15bd945cc3e8d4800e7ef (diff) |
Diffstat (limited to 'SpMV/baselines/cpu/run-perf.sh')
-rwxr-xr-x | SpMV/baselines/cpu/run-perf.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/SpMV/baselines/cpu/run-perf.sh b/SpMV/baselines/cpu/run-perf.sh new file mode 100755 index 0000000..714498d --- /dev/null +++ b/SpMV/baselines/cpu/run-perf.sh @@ -0,0 +1,6 @@ +#!/bin/zsh + +make -B + +OMP_NUM_THREADS=1 perf stat record -o t1.perf -e ${(j:,:):-$(grep -v '^#' ../../../perf-events.txt | cut -d ' ' -f 1)} make run +OMP_NUM_THREADS=4 perf stat record -o t4.perf -e ${(j:,:):-$(grep -v '^#' ../../../perf-events.txt | cut -d ' ' -f 1)} make run |