MCPcopy Create free account
hub / github.com/ValveSoftware/GameNetworkingSockets / UpdateInterval

Method UpdateInterval

tests/test_connection.cpp:98–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97
98 inline void UpdateInterval( float flElapsed )
99 {
100 m_flSendRate = m_nSendInterval / flElapsed;
101 m_flRecvRate = m_nRecvInterval / flElapsed;
102
103 m_nSendInterval = 0;
104 m_nRecvInterval = 0;
105 }
106
107 inline void UpdateStats()
108 {

Callers 1

TestNetworkConditionsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected