MCPcopy Create free account
hub / github.com/apache/brpc / LoadAverage

Class LoadAverage

src/bvar/default_variables.cpp:278–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276// ==================================================
277
278struct LoadAverage {
279 double loadavg_1m;
280 double loadavg_5m;
281 double loadavg_15m;
282};
283
284static bool read_load_average(LoadAverage &m) {
285#if defined(OS_LINUX)

Callers 1

read_load_averageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected