diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-01-07 16:50:03 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-01-07 16:50:14 +0100 |
commit | aacf0527a5ed4ef76be02243e011fb9c8bdcf319 (patch) | |
tree | 26c7d62d8a0d3aba907749b4df3f24c13f041afb /TS/baselines/cpu | |
parent | 9ea6d50bc151c04a299abf2a3d50ece29a7535da (diff) |
BS, GEMV, TRNS, TS, VA: Add basic perf stats
To Do: Right now, the stats include benchmark setup.
They should not.
Diffstat (limited to 'TS/baselines/cpu')
-rwxr-xr-x | TS/baselines/cpu/run-perf.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/TS/baselines/cpu/run-perf.sh b/TS/baselines/cpu/run-perf.sh new file mode 100755 index 0000000..453b64b --- /dev/null +++ b/TS/baselines/cpu/run-perf.sh @@ -0,0 +1,8 @@ +#!/bin/zsh + +make -B NUMA=1 + +for i in $(seq 1 20); do + OMP_NUM_THREADS=1 perf stat record -o t1.${i}.perf -e ${(j:,:):-$(grep -v '^#' ../../../perf-events.txt | cut -d ' ' -f 1)} ./streamp_openmp inputs/randomlist10M.txt 256 4 4 + OMP_NUM_THREADS=4 perf stat record -o t4.${i}.perf -e ${(j:,:):-$(grep -v '^#' ../../../perf-events.txt | cut -d ' ' -f 1)} ./streamp_openmp inputs/randomlist10M.txt 256 4 4 +done |