From 0a622fb2e20470f368c16e814e15945d9767fa98 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Thu, 16 Jul 2009 03:57:25 +0000 Subject: bcfg2-info: change profiling options to be more useful git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5341 ce84e21b-d406-0410-9b95-82705330c041 --- src/sbin/bcfg2-info | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sbin') diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index 2261271db..7844fae59 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -25,8 +25,8 @@ def printTabular(rows): def displayTrace(trace, num=80, sort=('time', 'calls')): stats = pstats.Stats(trace) - stats.sort_stats('time', 'calls') - stats.print_stats(100) + stats.sort_stats('cumulative', 'calls', 'time') + stats.print_stats(200) class infoCore(cmd.Cmd, Bcfg2.Server.Core.Core): -- cgit v1.2.3-1-g7c22