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

Method GetAsyncStatsAvgMsg

neo/framework/async/AsyncServer.cpp:2644–2646  ·  view source on GitHub ↗

=============== idAsyncServer::GetAsyncStatsAvgMsg =============== */

Source from the content-addressed store, hash-verified

2642===============
2643*/
2644void idAsyncServer::GetAsyncStatsAvgMsg( idStr &msg ) {
2645 sprintf( msg, "avrg out: %d B/s - max %d B/s ( over %d ms )", stats_average_sum / stats_numsamples, stats_max, idAsyncNetwork::serverSnapshotDelay.GetInteger() * stats_numsamples );
2646}
2647
2648/*
2649===============

Callers 1

SCR_DrawAsyncStatsFunction · 0.80

Calls 2

sprintfFunction · 0.85
GetIntegerMethod · 0.80

Tested by

no test coverage detected