Add event time for timers and phased loops
This is the beginning of the framework needed to measure timing reports.
This fills in the last event times needed. Watchers and Fetchers
already have the times well covered.
Change-Id: I31ce8814cee3607a4e615b0359f1408ced1258bc
diff --git a/aos/util/phased_loop.h b/aos/util/phased_loop.h
index 3e1752b..c9e4933 100644
--- a/aos/util/phased_loop.h
+++ b/aos/util/phased_loop.h
@@ -54,6 +54,9 @@
monotonic_clock::time_point sleep_time() const { return last_time_; }
+ monotonic_clock::duration interval() const { return interval_; }
+ monotonic_clock::duration offset() const { return offset_; }
+
private:
monotonic_clock::duration interval_, offset_;