[llvm-commits] CVS: llvm/test/Programs/TEST.dsgraph.gnuplot TEST.dsgraph.report
Chris Lattner
lattner at cs.uiuc.edu
Fri Aug 22 19:34:29 PDT 2003
Changes in directory llvm/test/Programs:
TEST.dsgraph.gnuplot added (r1.1)
TEST.dsgraph.report updated: 1.8 -> 1.9
---
Log message:
Describe the graphs that are creatable for the dsgraphs report
---
Diffs of the changes:
Index: llvm/test/Programs/TEST.dsgraph.gnuplot
diff -c /dev/null llvm/test/Programs/TEST.dsgraph.gnuplot:1.1
*** /dev/null Fri Aug 22 19:30:24 2003
--- llvm/test/Programs/TEST.dsgraph.gnuplot Fri Aug 22 19:30:13 2003
***************
*** 0 ****
--- 1,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"
Index: llvm/test/Programs/TEST.dsgraph.report
diff -u llvm/test/Programs/TEST.dsgraph.report:1.8 llvm/test/Programs/TEST.dsgraph.report:1.9
--- llvm/test/Programs/TEST.dsgraph.report:1.8 Fri Aug 22 17:07:23 2003
+++ llvm/test/Programs/TEST.dsgraph.report Fri Aug 22 19:30:13 2003
@@ -102,6 +102,10 @@
16 => \&NoCallNodes
);
+ at Graphs = (["scatter", "timeVmem.txt", 27, 7],
+ ["scatter", "timeVloc.txt", 1, 7]);
+
+
# These are the columns for the report. The first entry is the header for the
# column, the second is the regex to use to match the value. Empty list create
# seperators, and closures may be put in for custom processing.
More information about the llvm-commits
mailing list