Home
last modified time | relevance | path

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

/openbmc/pldm/platform-mc/
H A Dnumeric_sensor.cpp354 metricIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()
355 metricIntf->minValue(unitModifier(conversionFormula(minValue))); in NumericSensor()
356 metricIntf->unit(metricUnit); in NumericSensor()
616 metricIntf->unit(metricUnit); in NumericSensor()
711 (useMetricInterface && !metricIntf)) in updateReading()
727 curValue = metricIntf->value(); in updateReading()
744 metricIntf->value(newValue); in updateReading()
768 (useMetricInterface && !metricIntf)) in handleErrGetSensorReading()
782 metricIntf->value(std::numeric_limits<double>::quiet_NaN()); in handleErrGetSensorReading()
819 (useMetricInterface && !metricIntf)) in updateThresholds()
[all …]
H A Dnumeric_sensor.hpp234 std::unique_ptr<MetricIntf> metricIntf = nullptr; member in pldm::platform_mc::NumericSensor