changeset 955:92923dd24908

Dump profile statistics to player-X.pstats files.
author Martin Geisler <mg@daimi.au.dk>
date Sat, 27 Sep 2008 10:51:53 +0200
parents a978f6160b41
children 35fc8a249a2a
files viff/runtime.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/viff/runtime.py	Sat Sep 27 10:50:44 2008 +0200
+++ b/viff/runtime.py	Sat Sep 27 10:51:53 2008 +0200
@@ -1140,6 +1140,7 @@
             stats.strip_dirs()
             stats.sort_stats("time", "calls")
             stats.print_stats(40)
+            stats.dump_stats("player-%d.pstats" % id)
         reactor.run = new_run
 
     # This will yield a Runtime when all protocols are connected.