public final class Instrumentation extends Object
Modifier and Type | Field and Description |
---|---|
static InstrumentedEventCounterManager |
eventCounterManager
A pointer to a InstrumentedEventCounterManager, (See
InstrumentedEventCounterManager.java for the idea behind a
counter manager) There can be multiple managers in use at the
same time (for example, one per method)., but for now we just use
one for everything.
|
private static boolean |
instrumentationEnabled |
Constructor and Description |
---|
Instrumentation() |
Modifier and Type | Method and Description |
---|---|
static void |
boot(AOSOptions options)
Called at boot time to set up the required data structures.
|
(package private) static void |
disableInstrumentation()
Calling this routine causes all future compilations not to insert
instrumentation, regardless of what the options say.
|
(package private) static void |
enableInstrumentation()
Enable instrumentations, so that future compilations will not
perform any instrumentation.
|
static boolean |
instrumentationEnabled() |
public static InstrumentedEventCounterManager eventCounterManager
private static boolean instrumentationEnabled
public Instrumentation()
public static void boot(AOSOptions options)
options
- the options that govern the setupstatic void disableInstrumentation()
static void enableInstrumentation()
public static boolean instrumentationEnabled()