
public class MillisTimeDuration extends AbstractStatistic implements Duration
System.nanoTime()| Modifier and Type | Field and Description |
|---|---|
(package private) long |
begin
Tracking variables.
|
(package private) long |
end
Tracking variables.
|
key| Constructor and Description |
|---|
MillisTimeDuration(String key)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MillisTimeDuration |
begin()
Start the timer.
|
MillisTimeDuration |
end()
Finish the timer.
|
String |
formatValue()
Get a formatted version of the value, for output.
|
long |
getBegin()
Get the begin of the interval.
|
long |
getDuration()
Get the duration of the interval.
|
long |
getEnd()
Get the end of the interval.
|
getKey, toStringpublic MillisTimeDuration(String key)
key - Keypublic MillisTimeDuration begin()
Durationpublic MillisTimeDuration end()
Durationpublic long getBegin()
Durationpublic long getEnd()
Durationpublic long getDuration()
DurationgetDuration in interface Durationpublic String formatValue()
StatisticformatValue in interface StatisticCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.