Index: runtime/bin/utils_android.cc |
diff --git a/runtime/bin/utils_android.cc b/runtime/bin/utils_android.cc |
index 89becdcca52994ef962503da03fd4331d4083374..180dc39ebe5b3f0be4d9a8a9b28d53be3c6495c8 100644 |
--- a/runtime/bin/utils_android.cc |
+++ b/runtime/bin/utils_android.cc |
@@ -87,4 +87,8 @@ int64_t TimerUtils::GetCurrentTimeMicros() { |
return (static_cast<int64_t>(tv.tv_sec) * 1000000) + tv.tv_usec; |
} |
+void TimerUtils::Sleep(int64_t millis) { |
+ usleep(millis * 1000); |
+} |
+ |
#endif // defined(TARGET_OS_ANDROID) |