[llvm-commits] [poolalloc] r121622 - in /poolalloc/trunk/test: TEST.poolalloc.Makefile TEST.poolalloc.report
Arushi Aggarwal
aggarwa4 at illinois.edu
Sat Dec 11 20:53:14 PST 2010
Author: aggarwa4
Date: Sat Dec 11 22:53:14 2010
New Revision: 121622
URL: http://llvm.org/viewvc/llvm-project?rev=121622&view=rev
Log:
Track time to poolallocate a program.
Modified:
poolalloc/trunk/test/TEST.poolalloc.Makefile
poolalloc/trunk/test/TEST.poolalloc.report
Modified: poolalloc/trunk/test/TEST.poolalloc.Makefile
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/TEST.poolalloc.Makefile?rev=121622&r1=121621&r2=121622&view=diff
==============================================================================
--- poolalloc/trunk/test/TEST.poolalloc.Makefile (original)
+++ poolalloc/trunk/test/TEST.poolalloc.Makefile Sat Dec 11 22:53:14 2010
@@ -268,6 +268,11 @@
printf "RUN-TIME-POOLALLOC: " >> $@;\
grep "^program" Output/$*.poolalloc.out.time >> $@;\
fi
+ @-if test -f Output/$*.poolalloc.bc.info; then \
+ printf "PATIME: " >> $@;\
+ grep ' Pool allocate disjoint' Output/$*.poolalloc.bc.info >> $@;\
+ fi
+
-printf "LOC: " >> $@
-cat Output/$*.LOC.txt >> $@
@-cat Output/$*.$(TEST).bc.info >> $@
Modified: poolalloc/trunk/test/TEST.poolalloc.report
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/TEST.poolalloc.report?rev=121622&r1=121621&r2=121622&view=diff
==============================================================================
--- poolalloc/trunk/test/TEST.poolalloc.report (original)
+++ poolalloc/trunk/test/TEST.poolalloc.report Sat Dec 11 22:53:14 2010
@@ -69,6 +69,7 @@
"llu" => 'llu-bench',
);
+my $USERSYSTTIME = '([0-9.]+)[ 0-9.]+\([^)]+\)[ 0-9.]+\([^)]+\) +';
# 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
@@ -77,6 +78,7 @@
# Name
["Name:" , '\'([^\']+)\' Program'],
["LOC" , 'LOC:\s*([0-9]+)'],
+ ["PA Time","${USERSYSTTIME}Pool allocate"],
[],
# Times
["GCC", 'GCC-RUN-TIME: program\s*([.0-9m:]+)', \&FormatTime],
More information about the llvm-commits
mailing list