mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
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
This commit is contained in:
parent
07b1743d3d
commit
968ce9af59
5 changed files with 34 additions and 39 deletions
|
@ -30,7 +30,8 @@ typedef enum {
|
|||
AVG_RTT,
|
||||
MIN_JITTER,
|
||||
MAX_JITTER,
|
||||
AVG_JITTER
|
||||
AVG_JITTER,
|
||||
TIMEOUT_COUNTER
|
||||
} rtt_stat_type;
|
||||
|
||||
class Peer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue