Class TimeValue
java.lang.Object
org.openjdk.jmh.runner.options.TimeValue
- All Implemented Interfaces:
Serializable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongstatic TimeValuedays(long v) booleanstatic TimeValuefromString(String timeString) longgetTime()inthashCode()static TimeValuehours(long v) static TimeValuemicroseconds(long v) static TimeValuemilliseconds(long v) static TimeValueminutes(long v) static TimeValuenanoseconds(long v) static TimeValueseconds(long v) voidsleep()toString()static StringtuToString(TimeUnit timeUnit) Converts timeunit to stringly representation.static TimeValueParses time value from a string representation.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
NONE
-
time
private final long time -
timeUnit
-
-
Constructor Details
-
TimeValue
-
-
Method Details
-
days
-
hours
-
microseconds
-
milliseconds
-
minutes
-
nanoseconds
-
seconds
-
getTime
public long getTime() -
convertTo
-
getTimeUnit
-
hashCode
-
equals
-
toString
-
tuToString
-
valueOf
-
fromString
-
sleep
- Throws:
InterruptedException
-