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 |
|
1004 | Show at most this number of lines of drill-down info after each main entry. | |
1005 |
|
|
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 % ( |
|
53 | file.write(cols % (se.callcount, se.reccallcount, | |
54 | se.totaltime, se.inlinetime, |
|
54 | se.totaltime, se.inlinetime, | |
55 |
" |
|
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