Package ej.benchmark.time
Interface TimeStrategy
-
- All Known Implementing Classes:
PlatformTimeStrategy,SystemCurrentTimeStrategy
public interface TimeStrategyDefines a time strategy to get a time in nanoseconds. Default implementationsSystemCurrentTimeStrategyandPlatformTimeStrategyare available. However the time can be retrieved by a specific native (to use a hardware timer for instance).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetTime()Return the current time.
-