Add Timer class

This class is used to call a callback function
when the timer expires.  It can be one shot, or repeating.

Copied from the phosphor-fan-presence repository.

Change-Id: I9d63c2e6fd550286a2a5360e1e8d13f6a3c25923
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
7 files changed
tree: 1a82b6deb0c856fb02ee41bf40613f6f4d1e3b66
  1. .gitignore
  2. bootstrap.sh
  3. configure.ac
  4. event.hpp
  5. LICENSE
  6. Makefile.am
  7. README.md
  8. timer.cpp
  9. timer.hpp
README.md

Code for detecting and analyzing power faults on Witherspoon.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.