~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/lsprof.py

  • Committer: Martin Pool
  • Date: 2009-01-23 22:36:38 UTC
  • mto: This revision was merged to the branch mainline in revision 298.
  • Revision ID: mbp@sourcefrog.net-20090123223638-s57mqtpu4um3stes
Act as a plugin only when loaded by bzr; update docs

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
            d = d[:top]
74
74
        cols = "% 12s %12s %11.4f %11.4f   %s\n"
75
75
        hcols = "% 12s %12s %12s %12s %s\n"
 
76
        cols2 = "+%12s %12s %11.4f %11.4f +  %s\n"
76
77
        file.write(hcols % ("CallCount", "Recursive", "Total(ms)",
77
78
                            "Inline(ms)", "module:lineno(function)"))
78
79
        for e in d: