viff

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 diff
     1.1 --- a/viff/runtime.py	Sat Sep 27 10:50:44 2008 +0200
     1.2 +++ b/viff/runtime.py	Sat Sep 27 10:51:53 2008 +0200
     1.3 @@ -1140,6 +1140,7 @@
     1.4              stats.strip_dirs()
     1.5              stats.sort_stats("time", "calls")
     1.6              stats.print_stats(40)
     1.7 +            stats.dump_stats("player-%d.pstats" % id)
     1.8          reactor.run = new_run
     1.9  
    1.10      # This will yield a Runtime when all protocols are connected.