com.prosyst.profiler.api
Interface IProfilerCommands


public interface IProfilerCommands

Version:
5.0
Author:
Ivo Karabashev

Field Summary
static int PROF_API_EXT_EXPORT_DATA
          Extended API command to export current data results.
static int PROF_API_EXT_EXPORT_TEXT
          Extended API command to export current text results.
static int PROF_API_EXT_EXPORT_XML
          Extended API command to export current XML results.
static int PROF_API_EXT_MARK_CONT
          Extended API command to continue memory mark.
static int PROF_API_EXT_MARK_END
          Extended API command to end memory mark.
static int PROF_API_EXT_MARK_RESET
          Extended API command to reset memory mark.
static int PROF_API_EXT_MARK_START
          Extended API command to begin memory mark.
static int PROF_API_EXT_TEMPS_CLEAR
          Extended API command to clear temporary objects.
static int PROF_API_EXT_TEMPS_KEEP_OFF
          Extended API command to stop keeping temporary objects.
static int PROF_API_EXT_TEMPS_KEEP_ON
          Extended API command to start keeping temporary objects.
static byte PROF_CMD_API
          Passes commands to the profiler front-end.
static byte PROF_CMD_CPU_SAMPLE_OFF
          Disables receiving of CPU sampling events.
static byte PROF_CMD_CPU_SAMPLE_ON
          Enables receiving of CPU sampling events, param1 = 0 - clock time / 1 - real time, param2 = sample rate in ms.
static byte PROF_CMD_CPU_TIME_OFF
          Disables receiving of CPU timing events.
static byte PROF_CMD_CPU_TIME_ON
          Enables receiving of CPU timing events, param1 = 0 - clock time / 1 - real time, param2 = time filter in ms.
static byte PROF_CMD_DISCONNECT
          Disconnects from the profiler agent without terminating the application.
static byte PROF_CMD_DUMP_HEAP
          Dumps heap usage with object references.
static byte PROF_CMD_DUMP_MONITORS
          Dumps monitors usage/contention and thread stack traces.
static byte PROF_CMD_EXIT
          Exits the profiled application through JVMPI ProfilerExit or System.exit().
static byte PROF_CMD_GC
          Performs garbage collection on the profiled application.
static byte PROF_CMD_GET_SYSTEM_INFO
          Retrieves system information from the agent.
static byte PROF_CMD_MEM_OFF
          Disables receiving of object allocations events.
static byte PROF_CMD_MEM_ON
          Enables receiving of object allocations events.
static byte PROF_CMD_MON_OFF
          Disables receiving of monitor events.
static byte PROF_CMD_MON_ON
          Enables receiving of monitor events.
static byte PROF_CMD_RESUME_ALL
          Resumes the profiled application.
static byte PROF_CMD_SUSPEND_ALL
          Suspends the profiled application.
static byte PROF_CMD_VM_OFF
          Disables receiving of VM events.
static byte PROF_CMD_VM_ON
          Enables receiving of VM events.
static byte PROF_CPU_FILTER_WAIT
          Continue previous session.
static byte PROF_CPU_REAL
          Start new session.
static byte PROF_CPU_WALL
          End current session.
static byte PROF_INFO_PROCESS_CPU_TIME
          Gets the process CPU time.
static byte PROF_SESSION_CONTINUE
          Continue previous session.
static byte PROF_SESSION_END
          End current session.
static byte PROF_SESSION_START
          Start new session.
 

Field Detail

PROF_API_EXT_EXPORT_DATA

static final int PROF_API_EXT_EXPORT_DATA
Extended API command to export current data results.

See Also:
Constant Field Values

PROF_API_EXT_EXPORT_TEXT

static final int PROF_API_EXT_EXPORT_TEXT
Extended API command to export current text results.

See Also:
Constant Field Values

PROF_API_EXT_EXPORT_XML

static final int PROF_API_EXT_EXPORT_XML
Extended API command to export current XML results.

See Also:
Constant Field Values

PROF_API_EXT_MARK_CONT

static final int PROF_API_EXT_MARK_CONT
Extended API command to continue memory mark.

See Also:
Constant Field Values

PROF_API_EXT_MARK_END

static final int PROF_API_EXT_MARK_END
Extended API command to end memory mark.

See Also:
Constant Field Values

PROF_API_EXT_MARK_RESET

static final int PROF_API_EXT_MARK_RESET
Extended API command to reset memory mark.

See Also:
Constant Field Values

PROF_API_EXT_MARK_START

static final int PROF_API_EXT_MARK_START
Extended API command to begin memory mark.

See Also:
Constant Field Values

PROF_API_EXT_TEMPS_CLEAR

static final int PROF_API_EXT_TEMPS_CLEAR
Extended API command to clear temporary objects.

See Also:
Constant Field Values

PROF_API_EXT_TEMPS_KEEP_OFF

static final int PROF_API_EXT_TEMPS_KEEP_OFF
Extended API command to stop keeping temporary objects.

See Also:
Constant Field Values

PROF_API_EXT_TEMPS_KEEP_ON

static final int PROF_API_EXT_TEMPS_KEEP_ON
Extended API command to start keeping temporary objects.

See Also:
Constant Field Values

PROF_CMD_API

static final byte PROF_CMD_API
Passes commands to the profiler front-end.

See Also:
Constant Field Values

PROF_CMD_CPU_SAMPLE_OFF

static final byte PROF_CMD_CPU_SAMPLE_OFF
Disables receiving of CPU sampling events.

See Also:
Constant Field Values

PROF_CMD_CPU_SAMPLE_ON

static final byte PROF_CMD_CPU_SAMPLE_ON
Enables receiving of CPU sampling events, param1 = 0 - clock time / 1 - real time, param2 = sample rate in ms.

See Also:
Constant Field Values

PROF_CMD_CPU_TIME_OFF

static final byte PROF_CMD_CPU_TIME_OFF
Disables receiving of CPU timing events.

See Also:
Constant Field Values

PROF_CMD_CPU_TIME_ON

static final byte PROF_CMD_CPU_TIME_ON
Enables receiving of CPU timing events, param1 = 0 - clock time / 1 - real time, param2 = time filter in ms.

See Also:
Constant Field Values

PROF_CMD_DISCONNECT

static final byte PROF_CMD_DISCONNECT
Disconnects from the profiler agent without terminating the application. Can be reconnected again.

See Also:
Constant Field Values

PROF_CMD_DUMP_HEAP

static final byte PROF_CMD_DUMP_HEAP
Dumps heap usage with object references.

See Also:
Constant Field Values

PROF_CMD_DUMP_MONITORS

static final byte PROF_CMD_DUMP_MONITORS
Dumps monitors usage/contention and thread stack traces.

See Also:
Constant Field Values

PROF_CMD_EXIT

static final byte PROF_CMD_EXIT
Exits the profiled application through JVMPI ProfilerExit or System.exit().

See Also:
Constant Field Values

PROF_CMD_GC

static final byte PROF_CMD_GC
Performs garbage collection on the profiled application.

See Also:
Constant Field Values

PROF_CMD_GET_SYSTEM_INFO

static final byte PROF_CMD_GET_SYSTEM_INFO
Retrieves system information from the agent.

See Also:
Constant Field Values

PROF_CMD_MEM_OFF

static final byte PROF_CMD_MEM_OFF
Disables receiving of object allocations events.

See Also:
Constant Field Values

PROF_CMD_MEM_ON

static final byte PROF_CMD_MEM_ON
Enables receiving of object allocations events.

See Also:
Constant Field Values

PROF_CMD_MON_OFF

static final byte PROF_CMD_MON_OFF
Disables receiving of monitor events.

See Also:
Constant Field Values

PROF_CMD_MON_ON

static final byte PROF_CMD_MON_ON
Enables receiving of monitor events.

See Also:
Constant Field Values

PROF_CMD_RESUME_ALL

static final byte PROF_CMD_RESUME_ALL
Resumes the profiled application.

See Also:
Constant Field Values

PROF_CMD_SUSPEND_ALL

static final byte PROF_CMD_SUSPEND_ALL
Suspends the profiled application.

See Also:
Constant Field Values

PROF_CMD_VM_OFF

static final byte PROF_CMD_VM_OFF
Disables receiving of VM events.

See Also:
Constant Field Values

PROF_CMD_VM_ON

static final byte PROF_CMD_VM_ON
Enables receiving of VM events.

See Also:
Constant Field Values

PROF_CPU_FILTER_WAIT

static final byte PROF_CPU_FILTER_WAIT
Continue previous session.

See Also:
Constant Field Values

PROF_CPU_REAL

static final byte PROF_CPU_REAL
Start new session.

See Also:
Constant Field Values

PROF_CPU_WALL

static final byte PROF_CPU_WALL
End current session.

See Also:
Constant Field Values

PROF_INFO_PROCESS_CPU_TIME

static final byte PROF_INFO_PROCESS_CPU_TIME
Gets the process CPU time.

See Also:
Constant Field Values

PROF_SESSION_CONTINUE

static final byte PROF_SESSION_CONTINUE
Continue previous session.

See Also:
Constant Field Values

PROF_SESSION_END

static final byte PROF_SESSION_END
End current session.

See Also:
Constant Field Values

PROF_SESSION_START

static final byte PROF_SESSION_START
Start new session.

See Also:
Constant Field Values