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

Method Data

include/process/metrics/metric.hpp:75–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73private:
74 struct Data {
75 Data(const std::string& _name, const Option<Duration>& window)
76 : name(_name),
77 history(None())
78 {
79 if (window.isSome()) {
80 history =
81 Owned<TimeSeries<double>>(new TimeSeries<double>(window.get()));
82 }
83 }
84
85 const std::string name;
86

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected