summaryrefslogtreecommitdiff
path: root/TRNS/baselines/cpu
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2025-01-07 16:50:03 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2025-01-07 16:50:14 +0100
commitaacf0527a5ed4ef76be02243e011fb9c8bdcf319 (patch)
tree26c7d62d8a0d3aba907749b4df3f24c13f041afb /TRNS/baselines/cpu
parent9ea6d50bc151c04a299abf2a3d50ece29a7535da (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 'TRNS/baselines/cpu')
-rwxr-xr-xTRNS/baselines/cpu/run-perf.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/TRNS/baselines/cpu/run-perf.sh b/TRNS/baselines/cpu/run-perf.sh
new file mode 100755
index 0000000..08bff53
--- /dev/null
+++ b/TRNS/baselines/cpu/run-perf.sh
@@ -0,0 +1,6 @@
+#!/bin/zsh
+
+make -B NUMA=1
+
+perf stat record -o t1.perf -e ${(j:,:):-$(grep -v '^#' ../../../perf-events.txt | cut -d ' ' -f 1)} ./trns -w 0 -r 20 -p 2048 -o 2048 -m 16 -n 8 -t 1 -a 4 -c 4
+perf stat record -o t4.perf -e ${(j:,:):-$(grep -v '^#' ../../../perf-events.txt | cut -d ' ' -f 1)} ./trns -w 0 -r 20 -p 2048 -o 2048 -m 16 -n 8 -t 4 -a 4 -c 4