mailr7757 - /branches/multi_processor_merge/relax


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 16, 2008 - 16:55:
Author: bugman
Date: Thu Oct 16 16:55:50 2008
New Revision: 7757

URL: http://svn.gna.org/viewcvs/relax?rev=7757&view=rev
Log:
Added a docstring to print_stats().


Modified:
    branches/multi_processor_merge/relax

Modified: branches/multi_processor_merge/relax
URL: 
http://svn.gna.org/viewcvs/relax/branches/multi_processor_merge/relax?rev=7757&r1=7756&r2=7757&view=diff
==============================================================================
--- branches/multi_processor_merge/relax (original)
+++ branches/multi_processor_merge/relax Thu Oct 16 16:55:50 2008
@@ -472,7 +472,10 @@
     # Profiling activated.
     else:
         def print_stats(stats, status=0):
+            """Profile statistics printing function."""
+
             pstats.Stats(stats).sort_stats('time', 'name').print_stats()
+
 
         #FIXME: profiling won't work with multi processors.
         profile.Profile.print_stats = print_stats




Related Messages


Powered by MHonArc, Updated Thu Oct 16 17:00:02 2008