[llvm-commits] CVS: poolalloc/test/TEST.poolalloc.Makefile TEST.poolalloc.report
Chris Lattner
lattner at cs.uiuc.edu
Fri Nov 14 15:18:01 PST 2003
Changes in directory poolalloc/test:
TEST.poolalloc.Makefile updated: 1.7 -> 1.8
TEST.poolalloc.report updated: 1.6 -> 1.7
---
Log message:
Compute speedup, not whatever it was I had before
---
Diffs of the changes: (+3 -3)
Index: poolalloc/test/TEST.poolalloc.Makefile
diff -u poolalloc/test/TEST.poolalloc.Makefile:1.7 poolalloc/test/TEST.poolalloc.Makefile:1.8
--- poolalloc/test/TEST.poolalloc.Makefile:1.7 Thu Nov 13 11:13:40 2003
+++ poolalloc/test/TEST.poolalloc.Makefile Fri Nov 14 15:16:53 2003
@@ -17,7 +17,7 @@
PA_SO := $(PROJECT_DIR)/lib/Debug/libpoolalloc.so
# Pool allocator runtime library
-PA_RT := $(PROJECT_DIR)/lib/Bytecode/libpoolalloc_fl_rt.bc
+#PA_RT := $(PROJECT_DIR)/lib/Bytecode/libpoolalloc_fl_rt.bc
PA_RT_O := $(PROJECT_DIR)/lib/Release/poolalloc_rt.o
Index: poolalloc/test/TEST.poolalloc.report
diff -u poolalloc/test/TEST.poolalloc.report:1.6 poolalloc/test/TEST.poolalloc.report:1.7
--- poolalloc/test/TEST.poolalloc.report:1.6 Thu Nov 13 11:13:16 2003
+++ poolalloc/test/TEST.poolalloc.report Fri Nov 14 15:16:53 2003
@@ -11,7 +11,7 @@
my ($Cols, $Col) = @_;
if ($Cols->[$Col-1] ne "*" and $Cols->[$Col-2] ne "*" and
$Cols->[$Col-1] != "0") {
- return sprintf "%3.2f%%", ((100.0*$Cols->[$Col-2])/$Cols->[$Col-1] - 100.0);
+ return sprintf "%1.3f", $Cols->[$Col-2]/$Cols->[$Col-1];
} else {
return "n/a";
}
@@ -27,7 +27,7 @@
# Times
["Normal<br>ExeTime" , 'CBE-RUN-TIME-NORMAL: real[\t ]+0m([0-9.]+)'],
["PoolAlloc<br>ExeTime", 'CBE-RUN-TIME-POOLALLOC: real[\t ]+0m([0-9.]+)'],
- ["% Speedup", \&Ratio], # Normal / PA
+ ["Speedup", \&Ratio],
["NumPools", '([0-9]+).*Number of pools allocated'],
["NumCloned", '([0-9]+).*Number of functions cloned'],
["NumArgs", '([0-9]+).*Number of function arguments added'],
More information about the llvm-commits
mailing list