[llvm-commits] CVS: llvm/test/DSGraphs/generate_report.pl

Chris Lattner lattner at cs.uiuc.edu
Sun Nov 10 01:32:01 PST 2002


Changes in directory llvm/test/DSGraphs:

generate_report.pl updated: 1.7 -> 1.8

---
Log message:

Print info about hte globals graph and about bytecode size and load times


---
Diffs of the changes:

Index: llvm/test/DSGraphs/generate_report.pl
diff -u llvm/test/DSGraphs/generate_report.pl:1.7 llvm/test/DSGraphs/generate_report.pl:1.8
--- llvm/test/DSGraphs/generate_report.pl:1.7	Sun Nov 10 00:54:35 2002
+++ llvm/test/DSGraphs/generate_report.pl	Sun Nov 10 01:31:18 2002
@@ -38,13 +38,13 @@
 # Output the headers for the report....
 printf("%-25s ", "Name:");
 if ($SHOW_TIMES) {
-  printf("%6s %-8s %-8s %-8s %-8s      ",
-         "Anlyz:", "LocTime:", "BUTime:", "TDTime:", "TotTime:");
+  printf("%6s %-8s %-8s %-8s %-8s %-8s     ",
+         "Anlyz:", "LocTime:", "BUTime:", "TDTime:", "TotTime:", "BCTime:");
 }
 
-printf("%-8s %-8s %-10s %-10s   " . "%-8s %-10s %-6s %-6s\n",
-       "LocSize:", "BUSize:", "TDSize:", "TotSize:",
-       "NumFold", "NumNodes", "main", "__main");
+printf("%-8s %-8s %-8s %-8s %-8s   " . "%-8s %-10s %-6s %-6s %-6s\n",
+       "LocSize:", "BUSize:", "TDSize:", "TotSize:", "BCSize:",
+       "NumFold", "NumNodes", "main", "__main", "GlobGr");
 
 foreach $Record (@Records) {
   # Print BM name
@@ -64,20 +64,23 @@
       printField('([0-9.]+) \([^)]+\)[ ]*[0-9]+  Bottom-up', $Record, -8);
       printField('([0-9.]+) \([^)]+\)[ ]*[0-9]+  Top-down', $Record, -8);
       printField('([0-9.]+) \([^)]+\)[ ]*[0-9]+  TOTAL', $Record, -8);
-      print "|    ";
+      printField('([0-9.]+) \([^)]+\)[ ]*[0-9]+  Bytecode', $Record, -8);
+      print "|   ";
     }
 
     # Print Sizes
     printField("([0-9]+)  Local", $Record, -8);
     printField("([0-9]+)  Bottom-up", $Record, -8);
-    printField("([0-9]+)  Top-down", $Record, -10);
-    printField("([0-9]+)  TOTAL", $Record, -10);
+    printField("([0-9]+)  Top-down", $Record, -8);
+    printField("([0-9]+)  TOTAL", $Record, -8);
+    printField("([0-9]+)  Bytecode", $Record, -8);
 
     print "|    ";
     printField("([0-9]+).*completely folded", $Record, -5);
     printField("Graphs contain \\[([0-9+]+)\\] nodes total", $Record, -10);
     printField("\\.main\\.dot'... \\[([0-9+]+)\\]", $Record, -6);
     printField("\\.__main\\.dot'... \\[([0-9+]+)\\]", $Record, -6);
+    printField("\\.GlobalsGraph\\.dot'... \\[([0-9+]+)\\]", $Record, -6);
   }
   print "\n";
   #print "#####\n";





More information about the llvm-commits mailing list