-
Notifications
You must be signed in to change notification settings - Fork 2
/
run_all.sh
executable file
·56 lines (43 loc) · 1.87 KB
/
run_all.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
#!/bin/sh
DIRECTORY="./build/"
if [ ! -d "$DIRECTORY" ]; then
echo "Error! try doing a make first"
exit 1
fi
echo "Measurement overhead"
./utils/repeat_cmd.sh ./build/loop_overhead 100
./utils/repeat_cmd.sh ./build/measurement_overhead 100
echo "------------------------------------------------------------------"
echo "Procedure call overhead"
./build/procedure_call
echo "------------------------------------------------------------------"
echo "System call overhead"
./utils/repeat_cmd.sh ./build/system_call 100
echo "------------------------------------------------------------------"
echo "Task creation time"
./utils/repeat_cmd.sh build/creation_processes 20
./utils/repeat_cmd.sh build/creation_kthreads 20
echo "------------------------------------------------------------------"
echo "Context switch time"
./utils/repeat_cmd.sh ./build/context_switch_processes 100
./utils/repeat_cmd.sh ./build/context_switch_kthreads 100
echo "------------------------------------------------------------------"
echo "RAM access time"
./build/ram_access_time
echo "------------------------------------------------------------------"
echo "RAM bandwidth"
./build/ram_bandwidth
echo "------------------------------------------------------------------"
echo "Page fault service time"
./utils/repeat_cmd.sh ./build/page_fault_time 100
echo "------------------------------------------------------------------"
echo "Size of file cache"
./build/file_cache_size.sh ./build/file_cache_size
echo "------------------------------------------------------------------"
echo "File read time"
./build/file_read_time_sizes.sh ./build/file_read_time
./build/file_read_time_sizes.sh ./build/file_read_time_seq
echo "------------------------------------------------------------------"
echo "Contention"
./build/file_contention.sh ./build/contention
echo "------------------------------------------------------------------"