Lines Matching refs:MetricIntf
71 if (config.subType == MetricIntf::SubType::cpuTotal) in readCPU()
82 else if (config.subType == MetricIntf::SubType::cpuKernel) in readCPU()
86 else if (config.subType == MetricIntf::SubType::cpuUser) in readCPU()
121 std::unordered_map<MetricIntf::SubType, double> memoryValues; in readMemory()
135 memoryValues[MetricIntf::SubType::memoryAvailable] = value; in readMemory()
139 memoryValues[MetricIntf::SubType::memoryFree] = value; in readMemory()
143 memoryValues[MetricIntf::SubType::memoryBufferedAndCached] += value; in readMemory()
147 memoryValues[MetricIntf::SubType::memoryTotal] = value; in readMemory()
151 memoryValues[MetricIntf::SubType::memoryShared] += value; in readMemory()
159 auto total = memoryValues.at(MetricIntf::SubType::memoryTotal) * 1024; in readMemory()
192 case MetricIntf::Type::cpu: in read()
200 case MetricIntf::Type::memory: in read()
208 case MetricIntf::Type::storage: in read()
224 void HealthMetricCollection::create(const MetricIntf::paths_t& bmcPaths) in create()
230 metrics[config.name] = std::make_unique<MetricIntf::HealthMetric>( in create()