diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-07-16 03:57:25 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-07-16 03:57:25 +0000 |
commit | 0a622fb2e20470f368c16e814e15945d9767fa98 (patch) | |
tree | 80b17613a18158f4f7b7a158a1740ae55cd163e2 | |
parent | e90144525956df6d5c2b6cc2164517215adb1d87 (diff) | |
download | bcfg2-0a622fb2e20470f368c16e814e15945d9767fa98.tar.gz bcfg2-0a622fb2e20470f368c16e814e15945d9767fa98.tar.bz2 bcfg2-0a622fb2e20470f368c16e814e15945d9767fa98.zip |
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
-rwxr-xr-x | src/sbin/bcfg2-info | 4 |
1 files changed, 2 insertions, 2 deletions
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): |