-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Un-ignore plots and code analysis folders. Add gnuplots and code anal…
…ysis to results.
- Loading branch information
1 parent
2976f67
commit 83311d4
Showing
31 changed files
with
437 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Cyclomatic Complexity = 26 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[FuncName:generate_matrix, Complexity:27 | ||
FuncName:create_block, Complexity:2 | ||
FuncName:cholesky_blocked, Complexity:112 | ||
FuncName:potrf, Complexity:1 | ||
FuncName:solve_triangular, Complexity:1 | ||
FuncName:gemm, Complexity:1 | ||
FuncName:syrk, Complexity:1 | ||
FuncName:join_matrix, Complexity:5 | ||
FuncName:check_result, Complexity:2 | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Cyclomatic Complexity = 36 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[FuncName:generate_matrix, Complexity:27 | ||
FuncName:create_block, Complexity:2 | ||
FuncName:S1, Complexity:1 | ||
FuncName:S2, Complexity:1 | ||
FuncName:S3, Complexity:1 | ||
FuncName:S4, Complexity:1 | ||
FuncName:cholesky_blocked, Complexity:14576 | ||
FuncName:potrf, Complexity:1 | ||
FuncName:solve_triangular, Complexity:1 | ||
FuncName:gemm, Complexity:1 | ||
FuncName:syrk, Complexity:1 | ||
FuncName:join_matrix, Complexity:5 | ||
FuncName:check_result, Complexity:2 | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Cyclomatic Complexity = 22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[FuncName:initialize_variables, Complexity:1 | ||
FuncName:create_matrix, Complexity:3 | ||
FuncName:create_entry, Complexity:1 | ||
FuncName:matmul, Complexity:112 | ||
FuncName:scale, Complexity:1 | ||
FuncName:multiply, Complexity:1 | ||
FuncName:seq_multiply, Complexity:7 | ||
FuncName:check_result, Complexity:2 | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Cyclomatic Complexity = 133 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[FuncName:initialize_variables, Complexity:1 | ||
FuncName:create_matrix, Complexity:3 | ||
FuncName:create_entry, Complexity:1 | ||
FuncName:LT3, Complexity:4 | ||
FuncName:LT4, Complexity:4 | ||
FuncName:S1, Complexity:1 | ||
FuncName:S1_no_task, Complexity:1 | ||
FuncName:S2, Complexity:1 | ||
FuncName:S2_no_task, Complexity:1 | ||
FuncName:matmul, Complexity:360064 | ||
FuncName:scale, Complexity:1 | ||
FuncName:multiply, Complexity:1 | ||
FuncName:seq_multiply, Complexity:7 | ||
FuncName:check_result, Complexity:2 | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Cyclomatic Complexity = 35 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[FuncName:generate_matrix, Complexity:3 | ||
FuncName:create_block, Complexity:1 | ||
FuncName:lu_blocked, Complexity:79872 | ||
FuncName:invert_triangular, Complexity:1 | ||
FuncName:multiply, Complexity:12 | ||
FuncName:dgemm, Complexity:1 | ||
FuncName:custom_lu, Complexity:1 | ||
FuncName:join_matrix, Complexity:5 | ||
FuncName:check_result, Complexity:2 | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Cyclomatic Complexity = 39 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[FuncName:generate_matrix, Complexity:3 | ||
FuncName:create_block, Complexity:1 | ||
FuncName:S1, Complexity:1 | ||
FuncName:S2, Complexity:1 | ||
FuncName:S3, Complexity:1 | ||
FuncName:S4, Complexity:1 | ||
FuncName:S5, Complexity:1 | ||
FuncName:S6, Complexity:1 | ||
FuncName:S7, Complexity:1 | ||
FuncName:S8, Complexity:1 | ||
FuncName:S9, Complexity:1 | ||
FuncName:S10, Complexity:1 | ||
FuncName:S11, Complexity:1 | ||
FuncName:S12, Complexity:1 | ||
FuncName:lu_blocked, Complexity:331776 | ||
FuncName:invert_triangular, Complexity:1 | ||
FuncName:multiply, Complexity:12 | ||
FuncName:dgemm, Complexity:1 | ||
FuncName:custom_lu, Complexity:1 | ||
FuncName:join_matrix, Complexity:5 | ||
FuncName:check_result, Complexity:2 | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Cyclomatic Complexity = 41 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[FuncName:generate_matrix, Complexity:3 | ||
FuncName:generate_identity, Complexity:5 | ||
FuncName:create_block, Complexity:3 | ||
FuncName:qr_blocked, Complexity:168 | ||
FuncName:qr, Complexity:2 | ||
FuncName:dot, Complexity:4 | ||
FuncName:little_qr, Complexity:2 | ||
FuncName:multiply_single_block, Complexity:2 | ||
FuncName:copy_blocked, Complexity:12 | ||
FuncName:split_matrix, Complexity:12 | ||
FuncName:join_matrix, Complexity:5 | ||
FuncName:check_result, Complexity:2 | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Cyclomatic Complexity = 43 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[FuncName:generate_matrix, Complexity:3 | ||
FuncName:generate_identity, Complexity:5 | ||
FuncName:create_block_task, Complexity:1 | ||
FuncName:create_block, Complexity:3 | ||
FuncName:S1, Complexity:1 | ||
FuncName:S2, Complexity:1 | ||
FuncName:S3, Complexity:1 | ||
FuncName:S4, Complexity:1 | ||
FuncName:S5, Complexity:1 | ||
FuncName:S6, Complexity:1 | ||
FuncName:S7, Complexity:1 | ||
FuncName:S8, Complexity:1 | ||
FuncName:S9, Complexity:1 | ||
FuncName:S10, Complexity:1 | ||
FuncName:S11, Complexity:1 | ||
FuncName:S12, Complexity:1 | ||
FuncName:S13, Complexity:1 | ||
FuncName:S14, Complexity:1 | ||
FuncName:S15, Complexity:1 | ||
FuncName:S16, Complexity:1 | ||
FuncName:S17, Complexity:1 | ||
FuncName:S18, Complexity:1 | ||
FuncName:S19, Complexity:1 | ||
FuncName:S20, Complexity:1 | ||
FuncName:qr_blocked, Complexity:344 | ||
FuncName:qr, Complexity:2 | ||
FuncName:dot, Complexity:4 | ||
FuncName:little_qr, Complexity:2 | ||
FuncName:multiply_single_block, Complexity:2 | ||
FuncName:copy_blocked, Complexity:12 | ||
FuncName:copy_reference, Complexity:1 | ||
FuncName:split_matrix, Complexity:12 | ||
FuncName:join_matrix, Complexity:5 | ||
FuncName:check_result, Complexity:2 | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
1(48) 1.00 364.39 451.02 398.32 0.92 388.79 481.41 433.72 | ||
2(96) 1.47 256.12 279.38 270.96 1.46 265.98 281.26 272.32 | ||
4(192) 1.95 189.84 218.92 204.03 2.04 188.75 208.34 195.82 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1(48) 1 3.68 5.31 4.65 617.66 2874.82 2874.82 2874.82 128.30 597.14 597.14 597.14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
1(48) 1.00 694.11 759.52 714.28 0.99 677.16 779.98 720.65 | ||
2(96) 1.63 423.71 461.69 436.93 1.54 424.91 535.97 463.60 | ||
4(192) 2.44 278.92 307.42 292.27 2.12 292.84 392.31 336.16 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
1(48) 1.00 1018.32 1269.50 1157.05 0.96 1079.32 1340.06 1209.04 | ||
2(96) 1.62 651.83 759.11 714.12 1.38 760.37 879.42 838.56 | ||
4(192) 2.37 468.23 506.94 487.92 2.10 524.71 594.04 550.93 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
#!/bin/gnuplot | ||
|
||
# This GNU Plot script requires the following variables: | ||
# - application : Name of the application | ||
# - ysize : Distance between y entries on the Execution Time plot | ||
# | ||
# Call example: | ||
# gnuplot -e "application='cholesky'" -e "ysize=100" exec-time_and_speed-up.gpl | ||
# | ||
|
||
reset | ||
|
||
# Output format | ||
set terminal pdf enhanced font "sans,16" | ||
|
||
# Set output file | ||
set output "output/" . application . ".pdf" | ||
|
||
# Set multi plot | ||
set multiplot layout 2, 1 margins 0.15, 0.98, 0.1, 0.99 spacing 0, 0.05 | ||
set tmargin 2 | ||
#set bmargin 0 | ||
#set lmargin 1 | ||
#set rmargin 1 | ||
|
||
|
||
# | ||
# PLOT 1: EXECUTION TIME | ||
# | ||
|
||
#set title "Execution Time" | ||
|
||
# Caption position | ||
set key outside top center horizontal noreverse noenhanced autotitle nobox | ||
|
||
# Set labels | ||
#set xlabel "#Workers (#cores)" | ||
unset xtics | ||
set ylabel "Execution Time (s)" | ||
|
||
# Style | ||
set style histogram errorbars linewidth 1 gap 1 | ||
set style data histograms | ||
|
||
set boxwidth 0.9 absolute | ||
set style fill solid 0.5 | ||
set bars front | ||
|
||
set yrange [0:*] | ||
set ytics ysize | ||
set grid ytics | ||
|
||
# Plot | ||
plot "data/" . application . ".data" using 5:3:4:xticlabels(1) title "UserParallel" linecolor rgb "#004586", \ | ||
'' using 9:7:8 title "AutoParallel" lt 1 lc rgb "#3cb371", \ | ||
'' using 5:xticlabels(1) with lines linecolor rgb "#2b5272" title "", \ | ||
'' using 9:xticlabels(1) with lines linecolor rgb "#29aa63" title "" | ||
|
||
|
||
# | ||
# PLOT 2: SPEED-UP | ||
# | ||
|
||
#set title "Speed-Up" | ||
|
||
# Caption position | ||
unset key | ||
#set key inside right top vertical noreverse noenhanced autotitle nobox | ||
|
||
# Set labels | ||
set xlabel "#Workers (#cores)" | ||
set xtics | ||
set ylabel "Speed-up (u)" | ||
|
||
# Style | ||
set style histogram cluster gap 1 | ||
set style data histograms | ||
|
||
set boxwidth 0.9 absolute | ||
set style fill solid 0.5 | ||
set bars front | ||
|
||
set yrange [0.5:4] | ||
set logscale y 2 | ||
set ytics (0, 1, 2, 4) | ||
set grid ytics | ||
|
||
# Plot | ||
plot "data/" . application . ".data" using 2:xticlabels(1) title "UserParallel" linecolor rgb "#004586", \ | ||
'' using 6 title "AutoParallel" lt 1 lc rgb "#3cb371", \ | ||
'' using 2:xticlabels(1) with lines linecolor rgb "#2b5272" title "", \ | ||
'' using 6:xticlabels(1) with lines linecolor rgb "#29aa63" title "" | ||
|
||
unset multiplot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/bin/gnuplot | ||
|
||
# This GNU Plot script requires the following variables: | ||
# - application : Name of the application | ||
# | ||
# Call example: | ||
# gnuplot -e "application='cholesky'" execution_time.gpl | ||
# | ||
|
||
reset | ||
|
||
# Output format | ||
set terminal pdf enhanced font "sans,16" | ||
|
||
# Set output file | ||
set output "output/" . application . "_execution_time.pdf" | ||
|
||
# Caption position | ||
set key inside right top vertical noreverse noenhanced autotitle nobox | ||
|
||
# Set labels | ||
set xlabel "#Workers (#cores)" | ||
set ylabel "Execution Time (s)" | ||
|
||
# Style | ||
set style histogram errorbars linewidth 1 gap 1 | ||
set style data histograms | ||
|
||
set boxwidth 0.9 absolute | ||
set style fill solid 0.5 | ||
set bars front | ||
|
||
set yrange [0:*] | ||
set ytics 100 | ||
set grid ytics | ||
|
||
# Plot | ||
plot "data/" . application . ".data" using 5:3:4:xticlabels(1) title "UserParallel" linecolor rgb "#004586", \ | ||
'' using 9:7:8 title "AutoParallel" lt 1 lc rgb "#3cb371", \ | ||
'' using 5:xticlabels(1) with lines linecolor rgb "#2b5272" title "", \ | ||
'' using 9:xticlabels(1) with lines linecolor rgb "#29aa63" title "" | ||
|
Oops, something went wrong.