| Package | Description |
|---|---|
| net.obvj.performetrics |
Provides convenient classes for extracting performance metrics of Java code.
|
| net.obvj.performetrics.util |
Provides utility classes in general.
|
| Modifier and Type | Method and Description |
|---|---|
Duration |
Counter.elapsedTime()
Returns the elapsed time.
|
Duration |
Stopwatch.elapsedTime(Counter.Type type)
A convenient method that returns the elapsed time of a specific counter.
|
| Modifier and Type | Field and Description |
|---|---|
static Duration |
Duration.ZERO |
| Modifier and Type | Method and Description |
|---|---|
static Duration |
Duration.of(long amount,
TimeUnit timeUnit)
Obtains a
Duration representing an amount in the specified time unit. |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
Duration.FormatStyle.format(Duration duration,
boolean printLegend)
Formats a time duration.
|
Copyright © 2020. All rights reserved.