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