commit | 2de67cf4d19e2e433e1ea56583e0d5ae043b3d79 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Thu Apr 27 11:07:53 2017 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Thu May 11 13:52:45 2017 -0500 |
tree | 2d982ce65908bd1080a74967276bb5fbd9f9441e | |
parent | 77d32d1b0b780b9ac773bc49a6c74c19508ff8e8 [diff] [blame] |
phosphor-fan: Create timer class 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>
diff --git a/Makefile.am b/Makefile.am index 7b34537..61c6782 100644 --- a/Makefile.am +++ b/Makefile.am
@@ -7,7 +7,8 @@ libfan_la_CXXFLAGS = $(SDBUSPLUS_CFLAGS) libfan_la_SOURCES = \ - utility.cpp + utility.cpp \ + timer.cpp SUBDIRS = .