See: Description
| Class | Description |
|---|---|
| Counter |
An object that stores time units of a particular type for elapsed time evaluation.
|
| Performetrics |
A Facade class meant to provide a simple interface for common parameters setup and
other operations.
|
| Stopwatch |
A convenient timing object that supports multiple counter types and timing sessions.
|
| TimingSession |
A convenient timing object that supports multiple counter types.
|
| UnmodifiableTimingSession |
A "wrapper" class that allows retrieving values from an existing
TimingSession
but prevents users from modifying it. |
| Enum | Description |
|---|---|
| ConversionMode |
Defines supported conversion modes.
|
| Counter.Type |
Enumerates all supported counter types, defining a particular time fetch strategy for
each of them.
|
Provides convenient classes for extracting performance metrics of Java code.
The top-level package contains the Counter and TimingSession classes, which are the base for computing the metrics of wall-clock time, CPU time, user time, and system time.
This package also contains the Stopwatch class that supports all of the abovementioned counters.
Global configuration parameters, such as default conversion mode, time unit, and precision, can be set up using the Performetrics facade.
Copyright © 2023. All rights reserved.