| Package | Description |
|---|---|
| net.obvj.performetrics |
Provides convenient classes for extracting performance metrics of Java code.
|
| net.obvj.performetrics.monitors |
Provides classes that can monitor other ones.
|
| net.obvj.performetrics.util.printer |
Provides reusable static methods for printing Performetrics objects.
|
| Modifier and Type | Method and Description |
|---|---|
Counter |
TimingSession.getCounter(Counter.Type type)
Returns the counter instance associated with a given type in this timing session.
|
| Modifier and Type | Method and Description |
|---|---|
List<Counter> |
Stopwatch.getCounters()
Returns a list of counters populated by this stopwatch.
|
Collection<Counter> |
TimingSession.getCounters()
Returns the counters associated with this timing session.
|
List<Counter> |
Stopwatch.getCounters(Counter.Type type)
Returns a list of populated counters for a specific type in this stopwatch, or an empty
list if no counter is found (for example, if the stopwatch was not yet started, or
after reset).
|
| Modifier and Type | Method and Description |
|---|---|
List<Counter> |
MonitoredOperation.getCounters()
Returns all counters available in this monitored operation.
|
List<Counter> |
MonitoredOperation.getCounters(Counter.Type type)
Returns all counters associated with a given type in this monitored operation.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PrintUtils.print(List<Counter> counters,
PrintStream printStream)
Prints the statistics for the given counters in the specified print stream.
|
static void |
PrintUtils.print(List<Counter> counters,
PrintStream printStream,
TimeUnit timeUnit)
Prints the statistics for the given counters in the specified print stream.
|
static void |
PrintUtils.print(Map<Counter.Type,List<Counter>> countersByType,
PrintStream printStream)
Prints the statistics for the given counters in the specified print stream.
|
static void |
PrintUtils.print(Map<Counter.Type,List<Counter>> countersByType,
PrintStream printStream,
TimeUnit timeUnit)
Prints the statistics for the given counters in the specified print stream.
|
Copyright © 2020. All rights reserved.