From aacf0527a5ed4ef76be02243e011fb9c8bdcf319 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Tue, 7 Jan 2025 16:50:03 +0100 Subject: BS, GEMV, TRNS, TS, VA: Add basic perf stats To Do: Right now, the stats include benchmark setup. They should not. --- VA/baselines/cpu/run-perf.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 VA/baselines/cpu/run-perf.sh (limited to 'VA/baselines') diff --git a/VA/baselines/cpu/run-perf.sh b/VA/baselines/cpu/run-perf.sh new file mode 100755 index 0000000..33cb7b5 --- /dev/null +++ b/VA/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)} ./va -a 4 -b 4 -c 4 -t 1 -e 20 -w 0 -i 167772160 +perf stat record -o t4.perf -e ${(j:,:):-$(grep -v '^#' ../../../perf-events.txt | cut -d ' ' -f 1)} ./va -a 4 -b 4 -c 4 -t 4 -e 20 -w 0 -i 167772160 -- cgit v1.2.3