Add stacked top user scripts chart

This commit is contained in:
emanuele-f 2019-10-29 16:36:00 +01:00
parent 13a7b8ba67
commit 63660b59f4
7 changed files with 17 additions and 7 deletions

View file

@ -246,7 +246,7 @@ function user_scripts.benchmark_dump(ifid, to_stdout)
hook_benchmark["tot_elapsed"] / hook_benchmark["tot_num_calls"]))
end
acc_val.tot_elapsed = math.max(hook_benchmark.tot_elapsed, acc_val.tot_elapsed)
acc_val.tot_elapsed = acc_val.tot_elapsed + hook_benchmark.tot_elapsed
acc_val.tot_num_calls = hook_benchmark.tot_num_calls + acc_val.tot_num_calls
end
end