summaryrefslogtreecommitdiff
path: root/src/network/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/connection.h')
-rw-r--r--src/network/connection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/connection.h b/src/network/connection.h
index 2fc344169..f65540c8c 100644
--- a/src/network/connection.h
+++ b/src/network/connection.h
@@ -593,15 +593,15 @@ class Peer {
return m_rtt.jitter_max;
case AVG_JITTER:
return m_rtt.jitter_avg;
+ case TIMEOUT_COUNTER:
+ return m_timeout_counter;
}
return -1;
}
protected:
virtual void reportRTT(float rtt) {};
- void RTTStatistics(float rtt,
- const std::string &profiler_id = "",
- unsigned int num_samples = 1000);
+ void RTTStatistics(float rtt, const std::string &profiler_id = "");
bool IncUseCount();
void DecUseCount();