-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnoxim_run_v8_gnuplot.sh
executable file
·82 lines (75 loc) · 3.55 KB
/
noxim_run_v8_gnuplot.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# -----------------------------------------------------------------------------
# Project name :
# File name : gnuplot_v8_latency.sh
# Created date : Th11 28 2019
# Author : Van-Nam DINH
# Last modified : Th11 28 2019 18:32
# Guide :
# -----------------------------------------------------------------------------
#!/bin/bash
#for proj_name in default_conf_testXY default_conf_testDYADONE default_conf_testDYADTWO
#do
gnuplot << EOF
set term postscript eps color enhanced "" 24
set output "multiple_files_v8_latency.eps"
set title "Average latency (cycles)"
set xlabel "PIR %"
set xrange [0:200]
set ylabel "cycles"
plot \
"/home/vnd/WORK/noxim/bin/DYAD_algorithmv8/DYAD_results/outoffinal_DYAD_latency.dat" \
title "DYAD" lt rgb "brown", \
"/home/vnd/WORK/noxim/bin/NEGATIVE_FIRST_algorithmv8/NEGATIVE_FIRST_results/outoffinal_NEGATIVE_FIRST_latency.dat" \
title "NEGATIVE FIRST" lt rgb "red", \
"/home/vnd/WORK/noxim/bin/NORTH_LAST_algorithmv8/NORTH_LAST_results/outoffinal_NORTH_LAST_latency.dat" \
title "NORTH LAST" lt rgb "orange", \
"/home/vnd/WORK/noxim/bin/ODD_EVEN_algorithmv8/ODD_EVEN_results/outoffinal_ODD_EVEN_latency.dat" \
title "ODD EVEN" lt rgb "yellow", \
"/home/vnd/WORK/noxim/bin/WEST_FIRST_algorithmv8/WEST_FIRST_results/outoffinal_WEST_FIRST_latency.dat" \
title "WEST FIRST" lt rgb "green", \
"/home/vnd/WORK/noxim/bin/XY_algorithmv8/XY_results/outoffinal_XY_latency.dat" \
title "XY" lt rgb "blue"
#plot energy
set term postscript eps color enhanced "" 24
set output "multiple_files_v8_energy.eps"
set title "Average Energy (J)"
set xlabel "PIR %"
set xrange [0:200]
set ylabel "Total Power Energy (J)"
plot \
"/home/vnd/WORK/noxim/bin/DYAD_algorithmv8/DYAD_results/outoffinal_DYAD_energy.dat" \
title "DYAD" lt rgb "brown", \
"/home/vnd/WORK/noxim/bin/NEGATIVE_FIRST_algorithmv8/NEGATIVE_FIRST_results/outoffinal_NEGATIVE_FIRST_energy.dat" \
title "NEGATIVE FIRST" lt rgb "red", \
"/home/vnd/WORK/noxim/bin/NORTH_LAST_algorithmv8/NORTH_LAST_results/outoffinal_NORTH_LAST_energy.dat" \
title "NORTH LAST" lt rgb "orange", \
"/home/vnd/WORK/noxim/bin/ODD_EVEN_algorithmv8/ODD_EVEN_results/outoffinal_ODD_EVEN_energy.dat" \
title "ODD EVEN" lt rgb "yellow", \
"/home/vnd/WORK/noxim/bin/WEST_FIRST_algorithmv8/WEST_FIRST_results/outoffinal_WEST_FIRST_energy.dat" \
title "WEST FIRST" lt rgb "green", \
"/home/vnd/WORK/noxim/bin/XY_algorithmv8/XY_results/outoffinal_XY_energy.dat" \
title "XY" lt rgb "blue"
#plot throughput
set term postscript eps color enhanced "" 24
set output "multiple_files_v8_throughput.eps"
set title "Average Throughput (flits/cycle/IP)"
set xlabel "PIR %"
set xrange [0:200]
set ylabel "Average Throughput"
plot \
"/home/vnd/WORK/noxim/bin/DYAD_algorithmv8/DYAD_results/outoffinal_DYAD_throughput.dat" \
title "DYAD" lt rgb "brown", \
"/home/vnd/WORK/noxim/bin/NEGATIVE_FIRST_algorithmv8/NEGATIVE_FIRST_results/outoffinal_NEGATIVE_FIRST_throughput.dat" \
title "NEGATIVE FIRST" lt rgb "red", \
"/home/vnd/WORK/noxim/bin/NORTH_LAST_algorithmv8/NORTH_LAST_results/outoffinal_NORTH_LAST_throughput.dat" \
title "NORTH LAST" lt rgb "orange", \
"/home/vnd/WORK/noxim/bin/ODD_EVEN_algorithmv8/ODD_EVEN_results/outoffinal_ODD_EVEN_throughput.dat" \
title "ODD EVEN" lt rgb "yellow", \
"/home/vnd/WORK/noxim/bin/WEST_FIRST_algorithmv8/WEST_FIRST_results/outoffinal_WEST_FIRST_throughput.dat" \
title "WEST FIRST" lt rgb "green", \
"/home/vnd/WORK/noxim/bin/XY_algorithmv8/XY_results/outoffinal_XY_throughput.dat" \
title "XY" lt rgb "blue"
set key center ##legend placement
quit
EOF
#done