forked from llvm/llvm-test-suite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTEST.dsgraph.gnuplot
70 lines (58 loc) · 1.94 KB
/
TEST.dsgraph.gnuplot
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
## set size square 0.5,0.5
## set key left top
set nokey
set pointsize 3
set terminal postscript
##------- log(Time) vs. log(MemOps) --------
set output "runtimes.timeVmem.ps"
set logscale xy
#set xrange [5:50000]
#set yrange [0.0005:5]
set xlabel "Total Memory Operations" "TimesRoman,24"
set ylabel "Execution time (sec)" "TimesRoman,24"
plot 'timeVmem.txt' title "Time vs. Memory Ops"
#replot 0.000002 * x * log10(x)
##------- log(Time) vs. log(LOC) --------
set output "runtimes.timeloc.ps"
set logscale xy
#set xrange [10:100000]
#set yrange [0.0005:5]
set xlabel "Lines of Code" "TimesRoman,24"
set ylabel "Execution time (sec)" "TimesRoman,24"
plot 'timeVloc.txt' title "Time vs. LOC"
replot 0.000002 * x * log10(x)
set terminal png
##------- log(Time) vs. log(MemOps) --------
set output "runtimes.timeVmem.png"
set logscale xy
#set xrange [5:50000]
#set yrange [0.0005:5]
set xlabel "Total Memory Operations" "TimesRoman,24"
set ylabel "Execution time (sec)" "TimesRoman,24"
plot 'timeVmem.txt' title "Time vs. Memory Ops"
#replot 0.000002 * x * log10(x)
##------- log(Time) vs. log(LOC) --------
set output "runtimes.timeloc.png"
set logscale xy
#set xrange [10:100000]
#set yrange [0.0005:5]
set xlabel "Lines of Code" "TimesRoman,24"
set ylabel "Execution time (sec)" "TimesRoman,24"
plot 'timeVloc.txt' title "Time vs. LOC"
replot 0.000002 * x * log10(x)
##------- log(Time/LOC) vs. log(LOC) --------
set nologscale y
set logscale x
set xrange [100:100000]
set yrange [2:20]
set xlabel "Lines of Code" "TimesRoman,24"
set ylabel "Time/Line (microsec/line)" "TimesRoman,24"
#set output "runtimes.timelocratio.ps"
#plot '< ./runtimes.awk -v PlotTimeLOCRatio=1 data.txt' title "Time vs. LOC"
##------- log(Memory) vs. log(LOC) --------
set logscale xy
set yrange [10:10000]
set xlabel "Lines of Code" "TimesRoman,24"
set ylabel "Total Memory (KB)" "TimesRoman,24"
#set output "runtimes.memloc.ps"
#plot '< ./runtimes.awk -v PlotMemLOC=1 data.txt' title "Time vs. LOC"