aboutsummaryrefslogblamecommitdiffhomepage
path: root/tools/gnuplot/plot.sh
blob: e288c6ccb9cffd035b9a5730f5c5ef520d0e2e4f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
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