Home
last modified time | relevance | path

Searched refs:memoryValues (Results 1 – 1 of 1) sorted by relevance

/openbmc/phosphor-health-monitor/
H A Dhealth_metric_collection.cpp121 std::unordered_map<MetricIntf::SubType, double> memoryValues; in readMemory() local
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()
158 auto value = memoryValues.at(config.subType) * 1024; in readMemory()
159 auto total = memoryValues.at(MetricIntf::SubType::memoryTotal) * 1024; in readMemory()