There was an error while loading. Please reload this page.
2 parents a514ea3 + c3e5b10 commit 3e5dae0Copy full SHA for 3e5dae0
1 file changed
Lib/pstats.py
@@ -159,15 +159,19 @@ def dump_stats(self, filename):
159
# along with some printable description
160
sort_arg_dict_default = {
161
"calls" : (((1,-1), ), "call count"),
162
+ "ncalls" : (((1,-1), ), "call count"),
163
+ "cumtime" : (((3,-1), ), "cumulative time"),
164
"cumulative": (((3,-1), ), "cumulative time"),
165
"file" : (((4, 1), ), "file name"),
166
+ "filename" : (((4, 1), ), "file name"),
167
"line" : (((5, 1), ), "line number"),
168
"module" : (((4, 1), ), "file name"),
169
"name" : (((6, 1), ), "function name"),
170
"nfl" : (((6, 1),(4, 1),(5, 1),), "name/file/line"),
171
"pcalls" : (((0,-1), ), "primitive call count"),
172
"stdname" : (((7, 1), ), "standard name"),
173
"time" : (((2,-1), ), "internal time"),
174
+ "tottime" : (((2,-1), ), "internal time"),
175
}
176
177
def get_sort_arg_defs(self):
0 commit comments