MCPcopy Create free account
hub / github.com/3rdparty/libprocess / _load_15min

Method _load_15min

include/process/system.hpp:122–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120
121
122 Future<double> _load_15min()
123 {
124 Try<os::Load> load = os::loadavg();
125 if (load.isSome()) {
126 return load->fifteen;
127 }
128 return Failure("Failed to get loadavg: " + load.error());
129 }
130
131
132 Future<double> _cpus_total()

Callers

nothing calls this directly

Calls 1

FailureClass · 0.85

Tested by

no test coverage detected