| commit | 406b86e47e982d4ae5d9fa9f39476cb81f41d449 | [log] [tgz] |
|---|---|---|
| author | William A. Kennington III <wak@google.com> | Tue Sep 25 15:23:00 2018 -0700 |
| committer | William A. Kennington III <wak@google.com> | Wed Sep 26 12:18:50 2018 -0700 |
| tree | 779134e946c45f63d0ac960e0131186deab8dbca | |
| parent | 4755818efb01787b7098bd17946fa85686aeeee5 [diff] |
example/heartbeat: Refactor
This cleans up the clock and time source declarations by defining the
ClockId and Timer types up front.
Tested:
Built the example and it runs as expected.
Change-Id: I67326f5804f8eea54624150f6aa5d735bbde05fd
Signed-off-by: William A. Kennington III <wak@google.com>
sdeventplus is a c++ wrapper around the systemd sd_event apis meant to provide c++ ergonomics to their usage.
The sdeventplus library requires libsystemd for sd-event.
Test cases require google{test,mock}, valgrind, and lcov.
For a standard release build, you want something like:
./bootstrap.sh ./configure --disable-tests make make install
For a test / debug build, a typical configuration is
./bootstrap.sh ./configure --enable-tests --enable-coverage --enable-valgrind make make check make check-valgrind make check-code-coverage