mailr15462 - /1.3/multi/test_implementation.py


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

Header


Content

Posted by edward on March 08, 2012 - 12:16:
Author: bugman
Date: Thu Mar  8 12:16:01 2012
New Revision: 15462

URL: http://svn.gna.org/viewcvs/relax?rev=15462&view=rev
Log:
The profiling print out is now sorted by cumulative time for better debugging.


Modified:
    1.3/multi/test_implementation.py

Modified: 1.3/multi/test_implementation.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/multi/test_implementation.py?rev=15462&r1=15461&r2=15462&view=diff
==============================================================================
--- 1.3/multi/test_implementation.py (original)
+++ 1.3/multi/test_implementation.py Thu Mar  8 12:16:01 2012
@@ -61,10 +61,10 @@
 
 
 def print_stats(stats, status=0):
-    """Profiling print out function, sorting first by total time then by 
name."""
+    """Profiling print out function, sorting first by cumulative time."""
 
     # Sorted print out.
-    pstats.Stats(stats).sort_stats('time', 'name').print_stats()
+    pstats.Stats(stats).sort_stats('cumulative').print_stats()
 
 
 




Related Messages


Powered by MHonArc, Updated Thu Mar 08 12:20:02 2012