monitor: Change factor from size_t to double
To support a broader range of possible factors users could apply, change
the optional factor from a size_t to double type. This allows a
configuration to use a decimal factor value.
Tested: N/A
Change-Id: Id0540872df41946b8b75b1b75a4ee130a9ed0876
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/monitor/tach_sensor.cpp b/monitor/tach_sensor.cpp
index 2bf7b06..33904bd 100644
--- a/monitor/tach_sensor.cpp
+++ b/monitor/tach_sensor.cpp
@@ -74,7 +74,7 @@
bool hasTarget,
size_t funcDelay,
const std::string& interface,
- size_t factor,
+ double factor,
int64_t offset,
size_t timeout,
const sdeventplus::Event& event) :