-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalysis.sh
77 lines (55 loc) · 1.85 KB
/
analysis.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
#! /bin/bash
declare case_num
declare algorithm_name
# case_num=8
# algorithm_name=overlay
source "config.ini"
if [ -f "concluded_file.config" ];
then
rm "conclude_file.config"
fi
echo "calcCaseFactor.R"
Rscript calcCaseFactor.R logdata $case_num $algorithm_name
echo "calcCaseFactorWithoutIO.R"
Rscript calcCaseFactorWithoutIO.R logdata $case_num $algorithm_name
echo "calcMinTime.R"
Rscript calcMinTime.R logdata $case_num $algorithm_name
echo "calcConcludedFactor.R"
Rscript calcConcludedFactor.R logdata
echo "mergeKernelTime.R"
Rscript mergeKernelTime.R logdata $case_num $algorithm_name
echo "multiLine.R"
Rscript multiLine.R logdata kernel_time_data_table.txt
echo "paraProficiency.R"
Rscript paraProficiency.R logdata
echo "paraProficiencyWithoutIO.R"
Rscript paraProficiencyWithoutIO.R logdata
echo "relativeSpeedupRadio.R"
Rscript relativeSpeedupRadio.R logdata
echo "relativeSpeedupRadioWithoutIO.R"
Rscript relativeSpeedupRadioWithoutIO.R logdata
echo "speedupRadio.R"
Rscript speedupRadio.R logdata
echo "timeAnalysis.R"
Rscript timeAnalysis.R logdata
echo "timeCompare.R"
Rscript timeCompare.R logdata
cd logdata
source "concluded_file.config"
cat template.md | sed "s%time_table_content%$time_table_content%g" | \
sed "s%total_table_content%$total_table_content%g" | \
sed "s%cpu_table_content%$cpu_table_content%g" | \
sed "s%replace_s1%$replace_s1%g" | \
sed "s%replace_s2%$replace_s2%g" | \
sed "s%replace_s3%$replace_s3%g" | \
sed "s%replace_s4%$replace_s4%g" | \
sed "s%replace_s5%$replace_s5%g" | \
sed "s%replace_s6%$replace_s6%g" | \
sed "s%replace_s7%$replace_s7%g" | \
sed "s%replace_s8%$replace_s8%g" | \
sed "s%replace_s9%$replace_s9%g" | \
sed "s%replace_sa%$replace_sa%g" | \
sed "s%replace_sb%$replace_sb%g" | \
sed "s%replace_sc%$replace_sc%g" | \
sed "s%replace_sd%$replace_sd%g" > report.md
perl ../Markdown.pl report.md > report.html