Home
last modified time | relevance | path

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

/openbmc/pldm/platform-mc/
H A Dnumeric_sensor.cpp336 valueIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()
337 valueIntf->minValue(unitModifier(conversionFormula(minValue))); in NumericSensor()
354 metricIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()
355 metricIntf->minValue(unitModifier(conversionFormula(minValue))); in NumericSensor()
359 hysteresis = unitModifier(conversionFormula(hysteresis)); in NumericSensor()
596 valueIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()
597 valueIntf->minValue(unitModifier(conversionFormula(minValue))); in NumericSensor()
619 hysteresis = unitModifier(conversionFormula(hysteresis)); in NumericSensor()
694 double NumericSensor::conversionFormula(double value) in conversionFormula() function in pldm::platform_mc::NumericSensor
733 newValue = unitModifier(conversionFormula(value)); in updateReading()
[all …]
H A Dnumeric_sensor.hpp83 double conversionFormula(double value);
/openbmc/pldm/platform-mc/test/
H A Dnumeric_sensor_test.cpp10 TEST(NumericSensor, conversionFormula) in TEST() argument
99 convertedValue = sensor.conversionFormula(reading); in TEST()