Upgraded the rest of Time.
Change-Id: I0ee083837e51d8f74a798b7ba14a3b6bb3859f35
diff --git a/aos/common/event.h b/aos/common/event.h
index b3ee87b..559aad5 100644
--- a/aos/common/event.h
+++ b/aos/common/event.h
@@ -42,7 +42,7 @@
// Waits for the event to be set or until timeout has elapsed. Returns
// immediately if it is already set.
// Returns true if the event was Set or false if the timeout expired.
- bool WaitTimeout(const ::aos::time::Time &timeout);
+ bool WaitTimeout(monotonic_clock::duration timeout);
// Wakes up all Wait()ers and sets the event (atomically).
void Set();