Reworked flow stats defining InterarrivalStats

Fixed ms/timeval diffrence functions
This commit is contained in:
Luca Deri 2019-09-02 23:58:34 +02:00
parent a0d8cd7595
commit ffcfe398cc
8 changed files with 110 additions and 97 deletions

View file

@ -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