-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrunall.sh
executable file
·52 lines (51 loc) · 1.37 KB
/
runall.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
#!/bin/bash
echo "Simulation for astar"
#echo "Direct mapped cache:"
./cache astar 64 1 1024
#echo "N-way set associative cache:"
./cache astar 64 2 512
./cache astar 64 4 256
./cache astar 64 8 128
#echo "Fully associative cache:"
./cache astar 64 1024 1
#echo "Direct mapped cache:"
./cache astar 64 1 2048
#echo "N-way set associative cache:"
./cache astar 64 2 1024
./cache astar 64 4 512
./cache astar 64 8 256
#echo "Fully associative cache:"
./cache astar 64 2048 1
#echo "Direct mapped cache:"
./cache astar 64 1 4096
#echo "N-way set associative cache:"
./cache astar 64 2 2048
./cache astar 64 4 1024
./cache astar 64 8 512
#echo "Fully associative cache:"
./cache astar 64 4096 1
echo "Simulation for bzip2"
#echo "Direct mapped cache:"
./cache bzip2 64 1 1024
#echo "N-way set associative cache:"
./cache bzip2 64 2 512
./cache bzip2 64 4 256
./cache bzip2 64 8 128
#echo "Fully associative cache:"
./cache bzip2 64 1024 1
#echo "Direct mapped cache:"
./cache bzip2 64 1 2048
#echo "N-way set associative cache:"
./cache bzip2 64 2 1024
./cache bzip2 64 4 512
./cache bzip2 64 8 256
#echo "Fully associative cache:"
./cache bzip2 64 2048 1
#echo "Direct mapped cache:"
./cache bzip2 64 1 4096
#echo "N-way set associative cache:"
./cache bzip2 64 2 2048
./cache bzip2 64 4 1024
./cache bzip2 64 8 512
#echo "Fully associative cache:"
./cache bzip2 64 4096 1