summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/Scheduler/TimeKeeper.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/surfaceflinger/Scheduler/TimeKeeper.h')
-rw-r--r--services/surfaceflinger/Scheduler/TimeKeeper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/Scheduler/TimeKeeper.h b/services/surfaceflinger/Scheduler/TimeKeeper.h
index 40dd8410a3..da2195c253 100644
--- a/services/surfaceflinger/Scheduler/TimeKeeper.h
+++ b/services/surfaceflinger/Scheduler/TimeKeeper.h
@@ -43,10 +43,10 @@ public:
virtual ~TimeKeeper();
/*
- * Arms callback to fired when time is current based on CLOCK_MONOTONIC
+ * Arms callback to fired in time nanoseconds.
* There is only one timer, and subsequent calls will reset the callback function and the time.
*/
- virtual void alarmAt(std::function<void()> const& callback, nsecs_t time) = 0;
+ virtual void alarmIn(std::function<void()> const& callback, nsecs_t time) = 0;
/*
* Cancels an existing pending callback