summaryrefslogtreecommitdiffstats
path: root/timer.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Use unique_ptr for sd_event object wrapperMatt Spinler2017-05-111-15/+4
| | | | | | | | Convert the sd_event object wrapper from a shared_ptr to a unique_ptr. Requires a new header file. Change-Id: I868a9e88ed93878c2e0bb12e58f8d3a604510da0 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* phosphor-fan: Create timer classMatt Spinler2017-05-111-0/+178
This class can be used to call an arbitrary function after a certain amount of time, which is set in microseconds. Change-Id: Ifd65bbf0c3482db4e37efc3b1ccc868e62fa0afa Signed-off-by: Matt Spinler <spinler@us.ibm.com>
OpenPOWER on IntegriCloud