stealthcopter / AndroidNetworkTools

Set of useful android network tools
Apache License 2.0
1.39k stars 282 forks source link

PingStats: Why averageTimeTaken is multiplied by 100? #32

Closed alexeyw closed 6 years ago

alexeyw commented 6 years ago

https://github.com/stealthcopter/AndroidNetworkTools/blob/b5e77aaea1a76b10824007e5e533cabd333b42a2/library/src/main/java/com/stealthcopter/networktools/ping/PingStats.java#L16-L23

In result:

noPings=5, packetsLost=0, averageTimeTaken=17738.74, minTimeTaken=166.108, maxTimeTaken=211.687

stealthcopter commented 6 years ago

Whoops, have no idea how that slipped in. Will be fixed in the next version.