Skip to content

Commit

Permalink
Merge pull request #4 from vitiwari/master
Browse files Browse the repository at this point in the history
Value recieved is in usec, convert it in milisecond
  • Loading branch information
gokumar authored Mar 24, 2017
2 parents 5c6f158 + 31eb541 commit 9400339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ end

function TcpRTTDataSource:add( value)
self.count = self.count + 1
self.items[self.count] = value
self.items[self.count] = value/1000
end

function TcpRTTDataSource:averageTillNow()
Expand Down

0 comments on commit 9400339

Please sign in to comment.