Index: runtime/bin/utils_linux.cc |
diff --git a/runtime/bin/utils_linux.cc b/runtime/bin/utils_linux.cc |
index 39dcce687b3976ead549ea317a09e8b54c79706f..3defd39c0f48c705c00569cbfd57994e612f6270 100644 |
--- a/runtime/bin/utils_linux.cc |
+++ b/runtime/bin/utils_linux.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_LINUX) |