MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / GetOutgoingRate

Method GetOutgoingRate

neo/framework/async/AsyncServer.cpp:389–401  ·  view source on GitHub ↗

================== idAsyncServer::GetOutgoingRate ================== */

Source from the content-addressed store, hash-verified

387==================
388*/
389int idAsyncServer::GetOutgoingRate( void ) const {
390 int i, rate;
391
392 rate = 0;
393 for ( i = 0; i < MAX_ASYNC_CLIENTS; i++ ) {
394 const serverClient_t &client = clients[i];
395
396 if ( client.clientState >= SCS_CONNECTED ) {
397 rate += client.channel.GetOutgoingRate();
398 }
399 }
400 return rate;
401}
402
403/*
404==================

Callers 4

SCR_DrawAsyncStatsFunction · 0.45
GetClientOutgoingRateMethod · 0.45
UpdateAsyncStatsAvgMethod · 0.45
ClientGetOutgoingRateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected