Searched refs:MValue (Results 1 – 4 of 4) sorted by relevance
/openbmc/phosphor-health-monitor/ |
H A D | health_metric.hpp | 29 struct MValue struct 58 void update(MValue value); 67 auto shouldNotify(MValue value) -> bool; 69 void checkThreshold(Type type, Bound bound, MValue value); 71 void checkThresholds(MValue value);
|
H A D | health_metric.cpp | 152 void HealthMetric::checkThreshold(Type type, Bound bound, MValue value) in checkThreshold() 197 void HealthMetric::checkThresholds(MValue value) in checkThresholds() 210 auto HealthMetric::shouldNotify(MValue value) -> bool in shouldNotify() 226 void HealthMetric::update(MValue value) in update()
|
H A D | health_metric_collection.cpp | 105 metrics[config.name]->update(MValue(activePercValue, 100)); in readCPU() 162 metrics[config.name]->update(MValue(value, total)); in readMemory() 183 metrics[config.name]->update(MValue(value, total)); in readStorage()
|
/openbmc/phosphor-health-monitor/test/ |
H A D | test_health_metric.cpp | 90 metric->update(MValue(1351, 1500)); in TEST_F() 92 metric->update(MValue(1399, 1500)); in TEST_F() 94 metric->update(MValue(1199, 1500)); in TEST_F()
|