|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.adaptive.measurements.instrumentation.Instrumentation
public final class Instrumentation
This class is used to provide general functionality useful to instrumenting methods.
Field Summary | |
---|---|
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 Summary | |
---|---|
Instrumentation()
|
Method Summary | |
---|---|
static void |
boot(AOSOptions options)
Called at boot time |
(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()
Is it currently O.K. to compile a method and insert instrumentation? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static InstrumentedEventCounterManager eventCounterManager
private static boolean instrumentationEnabled
Constructor Detail |
---|
public Instrumentation()
Method Detail |
---|
public static void boot(AOSOptions options)
static void disableInstrumentation()
static void enableInstrumentation()
public static boolean instrumentationEnabled()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |