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

Method System

include/process/system.hpp:36–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34{
35public:
36 System()
37 : ProcessBase("system"),
38 load_1min(
39 self().id + "/load_1min",
40 defer(self(), &System::_load_1min)),
41 load_5min(
42 self().id + "/load_5min",
43 defer(self(), &System::_load_5min)),
44 load_15min(
45 self().id + "/load_15min",
46 defer(self(), &System::_load_15min)),
47 cpus_total(
48 self().id + "/cpus_total",
49 defer(self(), &System::_cpus_total)),
50 mem_total_bytes(
51 self().id + "/mem_total_bytes",
52 defer(self(), &System::_mem_total_bytes)),
53 mem_free_bytes(
54 self().id + "/mem_free_bytes",
55 defer(self(), &System::_mem_free_bytes)) {}
56
57 ~System() override {}
58

Callers

nothing calls this directly

Calls 1

deferFunction · 0.85

Tested by

no test coverage detected