public final class CounterBasedSampling extends Object
Modifier and Type | Field and Description |
---|---|
(package private) static boolean |
DEBUG |
(package private) static int |
globalCounter
The global counter.
|
(package private) static int |
resetValue
Holds the value that is used to reset the global counter after
a sample is taken.
|
Constructor and Description |
---|
CounterBasedSampling() |
Modifier and Type | Method and Description |
---|---|
static void |
boot(AOSOptions options)
Initializes counter based sampling.
|
static final boolean DEBUG
static int resetValue
static int globalCounter
public CounterBasedSampling()
public static void boot(AOSOptions options)
options
- the options for the AOS (and therefore also
counter-based sampling)