root/runstats

Revision 192:dbf174bd156f, 266 bytes (checked in by Chris Freeze <cfreeze@…>, 21 months ago)

add callee list

  • Property exe set to *
Line 
1#!/usr/bin/python
2
3import pstats
4
5pst = pstats.Stats('siren.stats')
6
7print "Function Time"
8pst.strip_dirs().sort_stats('time').print_stats(10)
9
10print "Algorithm Time"
11pst.strip_dirs().sort_stats('cumulative').print_stats(10)
12
13print "Callee List"
14pst.print_callees()
Note: See TracBrowser for help on using the browser.