Home
last modified time | relevance | path

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

/openbmc/dbus-sensors/src/psu/
H A DPSUEvent.cpp47 double pollRate) : objServer(objectServer) in PSUCombineEvent()
74 eventName, assert, combineEvent, state, psuName, pollRate); in PSUCombineEvent()
96 eventName, assert, combineEvent, state, psuName, pollRate); in PSUCombineEvent()
146 std::shared_ptr<bool> state, const std::string& psuName, double pollRate) : in PSUSubEvent()
155 if (pollRate > 0.0) in PSUSubEvent()
157 eventPollMs = static_cast<unsigned int>(pollRate * 1000); in PSUSubEvent()
48 PSUCombineEvent(sdbusplus::asio::object_server & objectServer,std::shared_ptr<sdbusplus::asio::connection> & conn,boost::asio::io_context & io,const std::string & psuName,const PowerState & powerState,EventPathList & eventPathList,GroupEventPathList & groupEventPathList,const std::string & combineEventName,double pollRate) PSUCombineEvent() argument
147 PSUSubEvent(std::shared_ptr<sdbusplus::asio::dbus_interface> eventInterface,const std::string & path,std::shared_ptr<sdbusplus::asio::connection> & conn,boost::asio::io_context & io,const PowerState & powerState,const std::string & groupEventName,const std::string & eventName,std::shared_ptr<std::set<std::string>> asserts,std::shared_ptr<std::set<std::string>> combineEvent,std::shared_ptr<bool> state,const std::string & psuName,double pollRate) PSUSubEvent() argument
H A DPSUSensor.cpp55 double offset, const std::string& label, size_t tSize, double pollRate, in PSUSensor() argument
76 if (pollRate > 0.0) in PSUSensor()
78 sensorPollMs = static_cast<unsigned int>(pollRate * 1000); in PSUSensor()
H A DPSUEvent.hpp51 double pollRate);
93 const std::string& combineEventName, double pollRate);
H A DPSUSensor.hpp32 const std::string& label, size_t tSize, double pollRate,
H A DPSUSensorMain.cpp554 float pollRate = getPollRate(*baseConfig, PSUSensor::defaultSensorPoll); in createSensorsCallback()
983 pollRate, i2cDev); in createSensorsCallback()
1002 pollRate); in createSensorsCallback()
553 float pollRate = getPollRate(*baseConfig, PSUSensor::defaultSensorPoll); createSensorsCallback() local
/openbmc/dbus-sensors/src/
H A DUtils.hpp221 float pollRate = dflt; in getPollRate() local
225 pollRate = std::visit(VariantToFloatVisitor(), findPollRate->second); in getPollRate()
226 if (!std::isfinite(pollRate) || pollRate <= 0.0F) in getPollRate()
228 pollRate = dflt; // poll time invalid, fall back to default in getPollRate()
231 return pollRate; in getPollRate()
/openbmc/dbus-sensors/src/hwmon-temp/
H A DHwmonTempSensor.cpp58 const struct SensorParams& thisSensorParameters, const float pollRate, in HwmonTempSensor() argument
69 sensorPollMs(static_cast<unsigned int>(pollRate * 1000)) in HwmonTempSensor()
H A DHwmonTempSensor.hpp41 float pollRate, const std::string& sensorConfiguration,
H A DHwmonTempMain.cpp433 float pollRate = getPollRate(baseConfigMap, pollRateDefault); in createSensors()
460 pollRate, interfacePath, readState, i2cDev); in createSensors()
522 pollRate, interfacePath, readState, i2cDev); in createSensors()
430 float pollRate = getPollRate(baseConfigMap, pollRateDefault); createSensors() local
/openbmc/dbus-sensors/src/ipmb/
H A DIpmbSensor.cpp72 uint8_t hostSMbusIndex, const float pollRate, std::string& sensorTypeName) : in IpmbSensor()
77 sensorPollMs(static_cast<int>(pollRate * 1000)), objectServer(objectServer), in IpmbSensor()
644 float pollRate = getPollRate(cfg, pollRateDefault); in createSensors()
670 hostSMbusIndex, pollRate, sensorTypeName); in createSensors()
69 IpmbSensor(std::shared_ptr<sdbusplus::asio::connection> & conn,boost::asio::io_context & io,const std::string & sensorName,const std::string & sensorConfiguration,sdbusplus::asio::object_server & objectServer,std::vector<thresholds::Threshold> && thresholdData,uint8_t deviceAddress,uint8_t hostSMbusIndex,const float pollRate,std::string & sensorTypeName) IpmbSensor() argument
640 float pollRate = getPollRate(cfg, pollRateDefault); createSensors() local
H A DIpmbSensor.hpp105 uint8_t deviceAddress, uint8_t hostSMbusIndex, float pollRate,
/openbmc/dbus-sensors/src/adc/
H A DADCSensor.cpp58 const float pollRate, PowerState readState, in ADCSensor()
66 sensorPollMs(static_cast<unsigned int>(pollRate * 1000)), in ADCSensor()
57 ADCSensor(const std::string & path,sdbusplus::asio::object_server & objectServer,std::shared_ptr<sdbusplus::asio::connection> & conn,boost::asio::io_context & io,const std::string & sensorName,std::vector<thresholds::Threshold> && thresholdsIn,const double scaleFactor,const float pollRate,PowerState readState,const std::string & sensorConfiguration,std::optional<BridgeGpio> && bridgeGpio) ADCSensor() argument
H A DADCSensor.hpp80 double scaleFactor, float pollRate, PowerState readState,
H A DADCSensorMain.cpp262 float pollRate = in createSensors()
310 std::move(sensorThresholds), scaleFactor, pollRate, in createSensors()
260 float pollRate = createSensors() local