diff options
Diffstat (limited to 'chattyparser.py')
| -rwxr-xr-x | chattyparser.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chattyparser.py b/chattyparser.py index 1d2ad22..48d2bf5 100755 --- a/chattyparser.py +++ b/chattyparser.py @@ -426,6 +426,10 @@ def plot_ascii_summary(path, print(f"Number of threads: {threads}\n", file=hist_file) print("Total function calls:", sum(calls.values()), file=hist_file) + if times: + print( + f"Time spend in the allocator: {fmt_nsec(sum(times.values()))}", + file=hist_file) for func, func_calls in calls.items(): if func == Function.uninitialized or func == Function.thread_termination: continue |
