mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Reworked flow stats defining InterarrivalStats
Fixed ms/timeval diffrence functions
This commit is contained in:
parent
a0d8cd7595
commit
ffcfe398cc
8 changed files with 110 additions and 97 deletions
|
|
@ -73,7 +73,7 @@ function format_utils.secondsToTime(seconds)
|
|||
end
|
||||
|
||||
function format_utils.msToTime(ms)
|
||||
if(ms > 1000) then
|
||||
if(ms > 10000) then -- 10 sec+
|
||||
return format_utils.secondsToTime(ms/1000)
|
||||
else
|
||||
if(ms < 1) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue