Modifier and Type | Method and Description |
---|---|
static BuildMetrics.Timer |
BuildMetrics.Timer.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildMetrics.Timer[] |
BuildMetrics.Timer.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
long |
BuildMetrics.getMetricElapsedTime(BuildMetrics.Timer timer,
TimeUnit desiredUnit)
Returns the provided
timer elapsed time in the unit specified by desiredUnit . |
long |
BuildMetrics.getMetricMillis(BuildMetrics.Timer timer)
Returns the provided
timer elapsed time in milliseconds. |
void |
BuildMetrics.start(BuildMetrics.Timer timer)
Start the
Stopwatch for the given Timer . |
void |
BuildMetrics.stop(BuildMetrics.Timer timer)
Stops the
Stopwatch for the given Timer . |
Copyright © 2017. All rights reserved.