Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Howto activate profiling during test execution
Howto activate profiling during test execution [message #14480] Thu, 07 April 2005 17:51 Go to next message
Holger Machens is currently offline Holger MachensFriend
Messages: 57
Registered: July 2009
Member
Hi,


i would like to attach to a profiling agent after the test has been started.
The profiling agent lives in the same process like the test (HyadesJUnitRunner) is executed in.
The profiling agent is automatically instanciated during startup of the test.

It would be nice, if someone could introduce me in the conceptual backround.

Do i have to open a new connection for each additional agent?
Or do i have to initiate more than one sessions if the agents are living in the same process?
Is it possible to use one RemoteComponentSkeleton for more than one Agent?

What is the right way?

I experimented with extensions to the TestExecutionHarness and used
org.eclipse.hyades.internal.execution.local.control.Node.lis tProcess()
and process.listAgents() to look for the profiling agent, but i did not find it.
But i know, that it's running, because i was able to attach to it via "launch -> profiling -> attach java process".


Thank you in advance
Holger
Re: Howto activate profiling during test execution [message #14541 is a reply to message #14480] Fri, 08 April 2005 15:01 Go to previous messageGo to next message
Joe Toomey is currently offline Joe ToomeyFriend
Messages: 79
Registered: July 2009
Member
This is a multipart message in MIME format.
--=_alternative 0052206B85256FDD_=
Content-Type: text/plain; charset="US-ASCII"

Hi Holger,

We don't provide an automatic way to profile a test in TPTP today. As you
mentioned, of course, if you set up the JVM to be profiled, you can still
manually attach to a profiling agent.

The request to provide automatic profiling of tests is covered by the
following enhancement requests, which we hope to put into the 4.1 plan.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=78753
https://bugs.eclipse.org/bugs/show_bug.cgi?id=75029

Thanks,
--Joe


--=_alternative 0052206B85256FDD_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi Holger,</font>
<br>
<br><font size=2 face="sans-serif">We don't provide an automatic way to
profile a test in TPTP today. &nbsp;As you mentioned, of course, if you
set up the JVM to be profiled, you can still manually attach to a profiling
agent. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">The request to provide automatic profiling
of tests is covered by the following enhancement requests, which we hope
to put into the 4.1 plan.</font>
<br>
<br><font size=2 face="sans-serif">https://bugs.eclipse.org/bugs/show_bug.cgi?id=78753</font>
<br><font size=2 face="sans-serif">https://bugs.eclipse.org/bugs/show_bug.cgi?id=75029</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif">--Joe</font>
<br>
<br>
--=_alternative 0052206B85256FDD_=--
Re: Howto activate profiling during test execution [message #14570 is a reply to message #14541] Fri, 08 April 2005 16:54 Go to previous message
Holger Machens is currently offline Holger MachensFriend
Messages: 57
Registered: July 2009
Member
Hi Joe,


it's possible and i did it! If someone is interested
in more information just ask me.


Cheers,
Holger


jptoomey@us.ibm.com wrote:
>
> Hi Holger,
>
> We don't provide an automatic way to profile a test in TPTP today. As
> you mentioned, of course, if you set up the JVM to be profiled, you can
> still manually attach to a profiling agent.
>
> The request to provide automatic profiling of tests is covered by the
> following enhancement requests, which we hope to put into the 4.1 plan.
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=78753
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=75029
>
> Thanks,
> --Joe
>
Previous Topic:Cant see (Run > Run As > Run-time Workbench)
Next Topic:How linear is Hyades profiling performance?
Goto Forum:
  


Current Time: Fri Apr 26 00:56:59 GMT 2024

Powered by FUDForum. Page generated in 0.03794 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top