summaryrefslogtreecommitdiffstats
path: root/timer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* phosphor-fan-presence elog error exception.Dinesh Chinari2017-06-281-8/+9
| | | | | | | | Implemented elog exception for phosphor fan presence, replacing runtime_errors. Change-Id: I70465060838b2cbaeadccf84ed5924e222ac59e3 Signed-off-by: Dinesh Chinari <chinari@us.ibm.com>
* Use unique_ptr for sd_event object wrapperMatt Spinler2017-05-111-1/+1
| | | | | | | | 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/+172
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