mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
use correct latency computation
This commit is contained in:
parent
98a55c0613
commit
69888e148e
2 changed files with 11 additions and 7 deletions
5
Tunnel.h
5
Tunnel.h
|
@ -90,9 +90,8 @@ namespace tunnel
|
|||
bool HasSamples() const;
|
||||
Latency GetMeanLatency() const;
|
||||
|
||||
Latency m_latency = 0;
|
||||
std::size_t m_samples = 0;
|
||||
|
||||
std::vector<Sample> m_samples;
|
||||
std::mutex m_access;
|
||||
};
|
||||
|
||||
class OutboundTunnel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue