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

Method Timer

include/process/metrics/timer.hpp:41–43  ·  view source on GitHub ↗

The Timer name will have a unit suffix added automatically.

Source from the content-addressed store, hash-verified

39public:
40 // The Timer name will have a unit suffix added automatically.
41 Timer(const std::string& name, const Option<Duration>& window = None())
42 : Metric(name + "_" + T::units(), window),
43 data(new Data()) {}
44
45 Future<double> value() const override
46 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected