Index: runtime/bin/eventhandler_linux.cc |
diff --git a/runtime/bin/eventhandler_linux.cc b/runtime/bin/eventhandler_linux.cc |
index f28481f70daf280741dae324d887b8c4ad89d5d1..4c605ce060ea9e5797f35f0d1f5a395787a36b0e 100644 |
--- a/runtime/bin/eventhandler_linux.cc |
+++ b/runtime/bin/eventhandler_linux.cc |
@@ -109,7 +109,7 @@ EventHandlerImplementation::EventHandlerImplementation() |
if (status == -1) { |
FATAL("Failed adding interrupt fd to epoll instance"); |
} |
- timer_fd_ = NO_RETRY_EXPECTED(timerfd_create(CLOCK_REALTIME, TFD_CLOEXEC)); |
+ timer_fd_ = NO_RETRY_EXPECTED(timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC)); |
if (timer_fd_ == -1) { |
FATAL1("Failed creating timerfd file descriptor: %i", errno); |
} |