RTT fixes (#7428)
authoryou <ovvv@web.de>
Sat, 23 Jun 2018 07:16:01 +0000 (09:16 +0200)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Sat, 23 Jun 2018 07:16:01 +0000 (09:16 +0200)
commit968ce9af598024ec71e9ffb2d15c3997a13ad754
tree0ad28040f1deb3ca1885d5147b23931d237a76f5
parent07b1743d3db086f0f984968252d9e3ac71336a7e
RTT fixes (#7428)

* Few code updates

* Do not show average RTT before timing out

* Fix unwanted integer division in RTTStatistics

* Fix float format, prettier jitter calculation

* Use +=, 0.1f -> 100.0f for stronger average updates
src/client.cpp
src/network/connection.cpp
src/network/connection.h
src/network/connectionthreads.cpp
src/network/peerhandler.h