#include <jvmpi.h>
Public Attributes | |
| jint | version |
| void (* | NotifyEvent )(JVMPI_Event *event) |
| Function called by the JVM to notify an event. More... | |
| jint (* | EnableEvent )(jint event_type, void *arg) |
| Function called by the profiler to enable/disable/send notification for a particular event type. More... | |
| jint (* | DisableEvent )(jint event_type, void *arg) |
| jint (* | RequestEvent )(jint event_type, void *arg) |
| void (* | GetCallTrace )(JVMPI_CallTrace *trace, jint depth) |
| Function called by the profiler to get a stack trace from the JVM. More... | |
| void (* | ProfilerExit )(jint) |
| Function called by profiler when it wants to exit/stop. More... | |
| JVMPI_RawMonitor (* | RawMonitorCreate )(char *lock_name) |
| Utility functions provided by the JVM. More... | |
| void (* | RawMonitorEnter )(JVMPI_RawMonitor lock_id) |
| void (* | RawMonitorExit )(JVMPI_RawMonitor lock_id) |
| void (* | RawMonitorWait )(JVMPI_RawMonitor lock_id, jlong ms) |
| void (* | RawMonitorNotifyAll )(JVMPI_RawMonitor lock_id) |
| void (* | RawMonitorDestroy )(JVMPI_RawMonitor lock_id) |
| jlong (* | GetCurrentThreadCpuTime )(void) |
| Function called by the profiler to get the current thread's CPU time. More... | |
| void (* | SuspendThread )(JNIEnv *env) |
| void (* | ResumeThread )(JNIEnv *env) |
| jint (* | GetThreadStatus )(JNIEnv *env) |
| jboolean (* | ThreadHasRun )(JNIEnv *env) |
| jint (* | CreateSystemThread )(char *name, jint priority, void(*f)(void *)) |
| void (* | SetThreadLocalStorage )(JNIEnv *env_id, void *ptr) |
| void* (* | GetThreadLocalStorage )(JNIEnv *env_id) |
| void (* | DisableGC )(void) |
| void (* | EnableGC )(void) |
| void (* | RunGC )(void) |
| jobjectID (* | GetThreadObject )(JNIEnv *env) |
| jobjectID (* | GetMethodClass )(jmethodID mid) |
|
|
|
|
|
|
|
|
|
|
|
Function called by the profiler to enable/disable/send notification for a particular event type. event_type - event_type arg - event specific arg return JVMPI_NOT_AVAILABLE, JVMPI_SUCCESS or JVMPI_FAIL |
|
|
|
|
|
Function called by the profiler to get a stack trace from the JVM. trace - trace data structure to be filled depth - maximum depth of the trace. |
|
|
Function called by the profiler to get the current thread's CPU time. return time in nanoseconds; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Function called by the JVM to notify an event.
|
|
|
Function called by profiler when it wants to exit/stop.
|
|
|
Utility functions provided by the JVM.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001