|
Re: Turning profiling on and off from within the application [message #42806 is a reply to message #41613] |
Thu, 24 November 2005 18:24 |
Eclipse User |
|
|
|
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com
This is a multipart message in MIME format.
--=_alternative 00651B6E852570C3_=
Content-Type: text/plain; charset="US-ASCII"
Hi Carl,
You don't have to turn on/off profiling programmatically, you can do it
within the workbench, by either pausing/resuming monitoring or
detaching/reattaching to the agent. To do any of these, simply right
click on your agent. If you do have to do it programmatically, then
extract the org.eclipse.hyades.execution module from CVS and take a look
at Agent and AgentImpl in the
org.eclipse.hyades.internal.execution.local.control package. You can
either call startMontiroing() / stopMonitoring() from here or call
detach() / attach() depending on how you want to collect profiling data.
Navid Mehregani
IBM Canada
--=_alternative 00651B6E852570C3_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Hi Carl,</font>
<br>
<br><font size=2 face="sans-serif">You don't have to turn on/off profiling
programmatically, you can do it within the workbench, by either pausing/resuming
monitoring or detaching/reattaching to the agent. To do any of these,
simply right click on your agent. If you do have to do it programmatically,
then extract the org.eclipse.hyades.execution module from CVS and take
a look at Agent and AgentImpl in the org.eclipse.hyades.internal.execution.local.control
package. You can either call startMontiroing() / stopMonitoring()
from here or call detach() / attach() depending on how you want to
collect profiling data.</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
<br><font size=2 face="sans-serif">IBM Canada</font>
--=_alternative 00651B6E852570C3_=--
|
|
|
Re: Turning profiling on and off from within the application [message #43220 is a reply to message #42806] |
Mon, 28 November 2005 17:53 |
Andy Kaylor Messages: 23 Registered: July 2009 |
Junior Member |
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_0011_01C5F401.9DDCB900
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Navid,
I think Carl wants to turn profiling on or off from within the =
application being profiled, not from within the Eclipse workbench, so I =
don't believe stopMonitoring() will help, will it?
And the UI approach doesn't allow fine enough control for what he is =
asking for.
I talked to Guru about this, and he doesn't think it's possible.
-Andy
------=_NextPart_000_0011_01C5F401.9DDCB900
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1523" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Navid,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I think Carl wants to turn profiling on =
or off from=20
within the application being profiled, not from within the Eclipse =
workbench, so=20
I don't believe stopMonitoring() will help, will it?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>And the UI approach doesn't allow fine =
enough=20
control for what he is asking for.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I talked to Guru about this, and he =
doesn't think=20
it's possible.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>-Andy</FONT></DIV>
<DIV><FONT face=3Dsans-serif size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0011_01C5F401.9DDCB900--
|
|
|
|
Powered by
FUDForum. Page generated in 0.02605 seconds