HADOOP-13080. Refresh time in SysInfoWindows is in nanoseconds. Contributed by Inigo Goiri
(cherry picked from commitc1cc6ac667
) (cherry picked from commita50dc05a60
)
This commit is contained in:
parent
9ea567da42
commit
b5c8bac817
|
@ -59,7 +59,7 @@ public class SysInfoWindows extends SysInfo {
|
|||
|
||||
@VisibleForTesting
|
||||
long now() {
|
||||
return System.nanoTime();
|
||||
return Time.monotonicNow();
|
||||
}
|
||||
|
||||
void reset() {
|
||||
|
|
Loading…
Reference in New Issue