Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

JVMPI_Interface Struct Reference

#include <jvmpi.h>

List of all members.

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)


Member Data Documentation

jint(* JVMPI_Interface::CreateSystemThread)(char *name, jint priority, void(*f)(void *))
 

jint(* JVMPI_Interface::DisableEvent)(jint event_type, void *arg)
 

void(* JVMPI_Interface::DisableGC)(void)
 

jint(* JVMPI_Interface::EnableEvent)(jint event_type, void *arg)
 

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

void(* JVMPI_Interface::EnableGC)(void)
 

void(* JVMPI_Interface::GetCallTrace)(JVMPI_CallTrace *trace, jint depth)
 

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.

jlong(* JVMPI_Interface::GetCurrentThreadCpuTime)(void)
 

Function called by the profiler to get the current thread's CPU time.

return time in nanoseconds;

jobjectID(* JVMPI_Interface::GetMethodClass)(jmethodID mid)
 

void *(* JVMPI_Interface::GetThreadLocalStorage)(JNIEnv *env_id)
 

jobjectID(* JVMPI_Interface::GetThreadObject)(JNIEnv *env)
 

jint(* JVMPI_Interface::GetThreadStatus)(JNIEnv *env)
 

void(* JVMPI_Interface::NotifyEvent)(JVMPI_Event *event)
 

Function called by the JVM to notify an event.

void(* JVMPI_Interface::ProfilerExit)(jint)
 

Function called by profiler when it wants to exit/stop.

JVMPI_RawMonitor(* JVMPI_Interface::RawMonitorCreate)(char *lock_name)
 

Utility functions provided by the JVM.

void(* JVMPI_Interface::RawMonitorDestroy)(JVMPI_RawMonitor lock_id)
 

void(* JVMPI_Interface::RawMonitorEnter)(JVMPI_RawMonitor lock_id)
 

void(* JVMPI_Interface::RawMonitorExit)(JVMPI_RawMonitor lock_id)
 

void(* JVMPI_Interface::RawMonitorNotifyAll)(JVMPI_RawMonitor lock_id)
 

void(* JVMPI_Interface::RawMonitorWait)(JVMPI_RawMonitor lock_id, jlong ms)
 

jint(* JVMPI_Interface::RequestEvent)(jint event_type, void *arg)
 

void(* JVMPI_Interface::ResumeThread)(JNIEnv *env)
 

void(* JVMPI_Interface::RunGC)(void)
 

void(* JVMPI_Interface::SetThreadLocalStorage)(JNIEnv *env_id, void *ptr)
 

void(* JVMPI_Interface::SuspendThread)(JNIEnv *env)
 

jboolean(* JVMPI_Interface::ThreadHasRun)(JNIEnv *env)
 

jint JVMPI_Interface::version
 

Definition at line 232 of file jvmpi.h.


The documentation for this struct was generated from the following file:
Generated at Sun Jun 24 20:59:21 2001 for xdprof by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001