##// END OF EJS Templates
profiling: replace '+' markup of nested lines with indentation...
Mads Kiilerich -
r18642:a40d608e default
parent child Browse files
Show More
@@ -1001,9 +1001,8 b' profiling is done using lsprof.'
1001 Default: 30.
1001 Default: 30.
1002
1002
1003 ``nested``
1003 ``nested``
1004 Show at most this number of lines of drill-down info in a tree structure
1004 Show at most this number of lines of drill-down info after each main entry.
1005 after each main entry. This can help explain the difference between Total
1005 This can help explain the difference between Total and Inline.
1006 and Inline.
1007 Specific to the ``ls`` instrumenting profiler.
1006 Specific to the ``ls`` instrumenting profiler.
1008 Default: 5.
1007 Default: 5.
1009
1008
@@ -50,9 +50,9 b' class Stats(object):'
50 ccount = 0
50 ccount = 0
51 if climit and e.calls:
51 if climit and e.calls:
52 for se in e.calls:
52 for se in e.calls:
53 file.write(cols % ("+%s" % se.callcount, se.reccallcount,
53 file.write(cols % (se.callcount, se.reccallcount,
54 se.totaltime, se.inlinetime,
54 se.totaltime, se.inlinetime,
55 "+%s" % label(se.code)))
55 " %s" % label(se.code)))
56 count += 1
56 count += 1
57 ccount += 1
57 ccount += 1
58 if limit is not None and count == limit:
58 if limit is not None and count == limit:
General Comments 0
You need to be logged in to leave comments. Login now