HADOOP-13080. Refresh time in SysInfoWindows is in nanoseconds. Contributed by Inigo Goiri

(cherry picked from commit c1cc6ac667)
(cherry picked from commit a50dc05a60)
This commit is contained in:
Chris Douglas 2016-05-02 22:36:58 -07:00
parent 9ea567da42
commit b5c8bac817
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public class SysInfoWindows extends SysInfo {
@VisibleForTesting @VisibleForTesting
long now() { long now() {
return System.nanoTime(); return Time.monotonicNow();
} }
void reset() { void reset() {