|
TPTP 4.2.0 Platform Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.tptp.platform.jvmti.client.internal.launcher.TIDelegateHelper
This delegate helper is shared between all launch configuration types (e.g. local Java application, external Java application, Eclipse application, and etc...). The logic behind the launch is the same. The only difference is the process parameters. The following sequence of tasks starts the profiling session:
launch method is invoked.
| Nested Class Summary | |
|---|---|
class |
TIDelegateHelper.ACDataProcessorAdapter
A data process adapter that turns the current data processor that we use for our trace model to a data processor that is acceptable by the new Agent Controller. |
static class |
TIDelegateHelper.NOOPCommandHandler
A dummy command handler that doesn't do anything in response to a command that is sent |
| Field Summary | |
|---|---|
protected static java.lang.String |
EXEC_JAVA
The executable that's run |
protected static java.lang.String |
TI_JVM_FLAG
The JVM argument used to launch a Java application with the JVMTI flag |
| Method Summary | |
|---|---|
org.eclipse.hyades.models.hierarchy.TRCAgentProxy |
attachToAgent(org.eclipse.tptp.platform.execution.client.core.IAgentController agentController,
org.eclipse.hyades.models.hierarchy.TRCAgentProxy agentProxy,
org.eclipse.tptp.platform.execution.client.core.IProcess process,
org.eclipse.core.runtime.IProgressMonitor monitor)
Attaches to the JVMTI agent based on a previous attach. |
static TIDelegateHelper |
getInstance()
Returns the instance of this singleton class |
static org.eclipse.tptp.trace.ui.provisional.launcher.ProcessParameters |
getProcessParameter(org.eclipse.tptp.trace.ui.provisional.launcher.ProcessParameters processParameters)
|
void |
launch(ILauncherParameterProvider launcher,
org.eclipse.debug.core.ILaunchConfiguration launchConfiguration,
java.lang.String mode,
org.eclipse.debug.core.ILaunch launch,
org.eclipse.core.runtime.IProgressMonitor monitor)
Launches a profiling session |
static org.eclipse.tptp.platform.execution.client.agent.ICollector |
locateTIAgent(org.eclipse.tptp.platform.execution.client.core.IAgentController agentController,
long processId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final java.lang.String EXEC_JAVA
protected static final java.lang.String TI_JVM_FLAG
| Method Detail |
public static TIDelegateHelper getInstance()
public void launch(ILauncherParameterProvider launcher,
org.eclipse.debug.core.ILaunchConfiguration launchConfiguration,
java.lang.String mode,
org.eclipse.debug.core.ILaunch launch,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
launcher - The launcherlaunchConfiguration - The launch configurationmode - The mode of the launchlaunch - The launchmonitor - The progress monitor
org.eclipse.core.runtime.CoreException - In case of an error
public org.eclipse.hyades.models.hierarchy.TRCAgentProxy attachToAgent(org.eclipse.tptp.platform.execution.client.core.IAgentController agentController,
org.eclipse.hyades.models.hierarchy.TRCAgentProxy agentProxy,
org.eclipse.tptp.platform.execution.client.core.IProcess process,
org.eclipse.core.runtime.IProgressMonitor monitor)
agentController - The agent controller connectionagentProxy - The agent proxy that the user is re-attaching toprocess - The execution processmonitor - The monitor.
public static org.eclipse.tptp.platform.execution.client.agent.ICollector locateTIAgent(org.eclipse.tptp.platform.execution.client.core.IAgentController agentController,
long processId)
public static org.eclipse.tptp.trace.ui.provisional.launcher.ProcessParameters getProcessParameter(org.eclipse.tptp.trace.ui.provisional.launcher.ProcessParameters processParameters)
|
TPTP 4.2.0 Platform Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||