diff options
author | Elliott Hughes <enh@google.com> | 2013-04-30 17:59:29 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-04-30 18:29:40 -0700 |
commit | af8bffb1e33737ede93acded30496b0b13254ab6 (patch) | |
tree | aee929e98c80a34355bc02b5317648e9ae33160f | |
parent | c53f9cd802572afa387d2fc0ec87d98daca07a26 (diff) | |
download | libcore-af8bffb1e33737ede93acded30496b0b13254ab6.zip libcore-af8bffb1e33737ede93acded30496b0b13254ab6.tar.gz libcore-af8bffb1e33737ede93acded30496b0b13254ab6.tar.bz2 |
Improve System.nanoTime documentation.
Bug: 8733179
(cherry picked from commit 37f79a6eb5d4f378ff6b0b56e21d5d5d1f4cc9a2)
Change-Id: I8e4a860909e3f21e45e13cf9937d851a8add38c7
-rw-r--r-- | luni/src/main/java/java/lang/System.java | 2 |
1 files changed, 1 insertions, 1 deletions
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}. * * <p>This timestamp should only be used to measure a duration by comparing it * against another timestamp from the same process on the same device. |