mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Add stacked top user scripts chart
This commit is contained in:
parent
13a7b8ba67
commit
63660b59f4
7 changed files with 17 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue