aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-08-04 22:05:36 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-08-04 22:05:36 +0000
commit0affe0213d6864a773af0bac236fbcbf2456a8dc (patch)
treedaada66af91f0d582b7a0c3935d388e0518507c4
parente464282f29f76485fb9a0786065032ec7e30d01d (diff)
downloadllvm-0affe0213d6864a773af0bac236fbcbf2456a8dc.zip
llvm-0affe0213d6864a773af0bac236fbcbf2456a8dc.tar.gz
llvm-0affe0213d6864a773af0bac236fbcbf2456a8dc.tar.bz2
Print out the stopwatch (which contains laps, total elapsed time, and average)
instead of just the average. llvm-svn: 136932
-rw-r--r--lldb/test/benchmarks/example/TestRepeatedExprs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/benchmarks/example/TestRepeatedExprs.py b/lldb/test/benchmarks/example/TestRepeatedExprs.py
index 4e6b71e..0e385e1 100644
--- a/lldb/test/benchmarks/example/TestRepeatedExprs.py
+++ b/lldb/test/benchmarks/example/TestRepeatedExprs.py
@@ -25,9 +25,9 @@ class RepeatedExprsCase(BenchBase):
print
self.run_lldb_repeated_exprs(self.exe_name, 100)
+ print "lldb benchmark:", self.stopwatch
self.run_gdb_repeated_exprs(self.exe_name, 100)
- print "lldb_avg: %f" % self.lldb_avg
- print "gdb_avg: %f" % self.gdb_avg
+ print "gdb benchmark:", self.stopwatch
print "lldb_avg/gdb_avg: %f" % (self.lldb_avg/self.gdb_avg)
def run_lldb_repeated_exprs(self, exe_name, count):