17 #ifndef __MASTER_ALLOCATOR_SORTER_DRF_SORTER_METRICS_HPP__ 18 #define __MASTER_ALLOCATOR_SORTER_DRF_SORTER_METRICS_HPP__ 40 const std::string&
prefix);
44 void add(
const std::string& client);
45 void remove(
const std::string& client);
62 #endif // __MASTER_ALLOCATOR_SORTER_DRF_SORTER_METRICS_HPP__ const process::UPID context
Definition: metrics.hpp:47
Definition: master.hpp:27
const std::string prefix
Definition: metrics.hpp:51
Definition: metrics.hpp:35
An "untyped" PID, used to encapsulate the process ID for lower-layer abstractions (eg...
Definition: pid.hpp:39
void add(const std::string &client)
hashmap< std::string, process::metrics::PullGauge > dominantShares
Definition: metrics.hpp:54
DRFSorter * sorter
Definition: metrics.hpp:49
Definition: sorter.hpp:44
Metrics(const process::UPID &context, DRFSorter &sorter, const std::string &prefix)
Definition: attributes.hpp:24