From af8bffb1e33737ede93acded30496b0b13254ab6 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 30 Apr 2013 17:59:29 -0700 Subject: Improve System.nanoTime documentation. Bug: 8733179 (cherry picked from commit 37f79a6eb5d4f378ff6b0b56e21d5d5d1f4cc9a2) Change-Id: I8e4a860909e3f21e45e13cf9937d851a8add38c7 --- luni/src/main/java/java/lang/System.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luni/src/main/java/java/lang/System.java b/luni/src/main/java/java/lang/System.java index 98ce6cb..7205ad5 100644 --- a/luni/src/main/java/java/lang/System.java +++ b/luni/src/main/java/java/lang/System.java @@ -168,7 +168,7 @@ public final class System { /** * Returns the current timestamp of the most precise timer available on the - * local system. + * local system, in nanoseconds. Equivalent to Linux's {@code CLOCK_MONOTONIC}. * *

This timestamp should only be used to measure a duration by comparing it * against another timestamp from the same process on the same device. -- cgit v1.1