Change interval units to milliseconds
Allow the monitoring intervals to be specified in
milliseconds instead of seconds in order to handle
polling intervals less than a second.
Change-Id: I3ef078df29ef2866920f00103710b02dbde6fcb2
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/power-sequencer/runtime_monitor.hpp b/power-sequencer/runtime_monitor.hpp
index aae17ed..de71dcf 100644
--- a/power-sequencer/runtime_monitor.hpp
+++ b/power-sequencer/runtime_monitor.hpp
@@ -52,7 +52,7 @@
RuntimeMonitor(std::unique_ptr<witherspoon::power::Device>&& d,
sdbusplus::bus::bus& b,
witherspoon::power::event::Event& e,
- std::chrono::seconds& i) :
+ std::chrono::milliseconds& i) :
DeviceMonitor(std::move(d), e, i),
bus(b),
match(bus,