Package com.biglybt.core.util
Class SystemTime.RawProvider
java.lang.Object
com.biglybt.core.util.SystemTime.RawProvider
- All Implemented Interfaces:
SystemTime.SystemTimeProvider
- Enclosing class:
- SystemTime
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
This implementation does not guarantee monotonous time increases with 100% accuracy as the adjustedTimeOffset is only adjusted every TIME_GRANULARITY_MILLISlong
long
getTime()
-
Field Details
-
updater
-
-
Constructor Details
-
RawProvider
private RawProvider()
-
-
Method Details
-
getTime
public long getTime()- Specified by:
getTime
in interfaceSystemTime.SystemTimeProvider
-
getMonoTime
public long getMonoTime()This implementation does not guarantee monotonous time increases with 100% accuracy as the adjustedTimeOffset is only adjusted every TIME_GRANULARITY_MILLIS- Specified by:
getMonoTime
in interfaceSystemTime.SystemTimeProvider
-
getSteppedMonoTime
public long getSteppedMonoTime()- Specified by:
getSteppedMonoTime
in interfaceSystemTime.SystemTimeProvider
-