summaryrefslogtreecommitdiffstats
path: root/example/heartbeat.cpp
Commit message (Collapse)AuthorAgeFilesLines
* example/heartbeat: Add signal handlingWilliam A. Kennington III2019-03-291-0/+11
| | | | | | | | | This makes the example a little more interesting as we now have multiple sources and we can analyze memory safety with valgrind by just sending a SIGINT to quit cleanly. Change-Id: Id15fe58f798d3b137f91228025f48a5e4cd5fc50 Signed-off-by: William A. Kennington III <wak@google.com>
* example/heartbeat: RefactorWilliam A. Kennington III2018-09-261-8/+13
| | | | | | | | | | | 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>
* source/base: Improve some method typesWilliam A. Kennington III2018-07-231-1/+1
|
* example/heartbeat: Show a time exampleWilliam A. Kennington III2018-07-191-0/+35
OpenPOWER on IntegriCloud