MCPcopy Create free account
hub / github.com/apohl79/audiogridder / updateSandboxNetworkStats

Method updateSandboxNetworkStats

Server/Source/Server.cpp:1649–1657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1647}
1648
1649void Server::updateSandboxNetworkStats(const String& key, uint32 loaded, double bytesIn, double bytesOut, double rps,
1650 const std::vector<TimeStatistic::Histogram>& audioHists) {
1651 traceScope();
1652 m_sandboxLoadedCount.set(key, loaded);
1653 Metrics::getStatistic<Meter>("NetBytesIn")->updateExtRate1min(key, bytesIn);
1654 Metrics::getStatistic<Meter>("NetBytesOut")->updateExtRate1min(key, bytesOut);
1655 Metrics::getStatistic<TimeStatistic>("audio")->getMeter().updateExtRate1min(key, rps);
1656 Metrics::getStatistic<TimeStatistic>("audio")->updateExt1minValues(key, audioHists);
1657}
1658
1659} // namespace e47

Callers

nothing calls this directly

Calls 3

updateExtRate1minMethod · 0.80
updateExt1minValuesMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected