diff options
author | johannst <johannst@users.noreply.github.com> | 2024-01-31 22:52:33 +0000 |
---|---|---|
committer | johannst <johannst@users.noreply.github.com> | 2024-01-31 22:52:33 +0000 |
commit | bfc5ce4bc01e5eb28969eefcc01ecfefa2601fdf (patch) | |
tree | 9de58b72811e7e84892c3a3749ca1ed5ccb83e42 /tools/gnuplot/plot.sh | |
parent | e5b4aacc5d30dedc78fe955de6ab340374ca2920 (diff) | |
download | notes-bfc5ce4bc01e5eb28969eefcc01ecfefa2601fdf.tar.gz notes-bfc5ce4bc01e5eb28969eefcc01ecfefa2601fdf.zip |
deploy: f3e631f7539c71686d1e336756c9c0fcd0b587ad
Diffstat (limited to 'tools/gnuplot/plot.sh')
-rw-r--r-- | tools/gnuplot/plot.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/gnuplot/plot.sh b/tools/gnuplot/plot.sh new file mode 100644 index 0000000..e288c6c --- /dev/null +++ b/tools/gnuplot/plot.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +gcc -o mem_lat mem_lat.c -g -O3 -Wall -Werror + +for stride in 32 64 128 256 512; do \ + taskset -c 1 ./mem_lat 128 $stride | tee stride_$stride.txt ; \ +done + +gnuplot -p -c mem_lat.plot + +rm -f stride_*.txt mem_lat |