Profile without AgentController [message #93846] |
Tue, 20 March 2007 19:36 |
Eclipse User |
|
|
|
Originally posted by: mike.bernat.gmail.com
I all looking at implementing a profiling mechanism for an external domain-specific language environment. When launched,
there is already a connection from its runtime process back to the workbench for things like log messages and debugging.
I would like to piggyback the profile data on this same connection. Is this possible, and if so, is there an example for
delivering profile data outside of the AgentController framework?
Thanks in advance,
Mike
|
|
|
|
Re: Profile without AgentController [message #94085 is a reply to message #93981] |
Fri, 23 March 2007 18:13 |
Eclipse User |
|
|
|
Originally posted by: mike.bernat.gmail.com
Hi Ali,
Thanks for the response. I have already read the documents you linked to and they were helpful.
I will read through the JVMTI client code as see what I can find.
Best regards,
Mike
Ali Mehregani wrote:
> Yes, it is possible to by pass the Agent Controller to display profiling
> data on the workbench. We don't have any examples in TPTP that illustrates
> this but you can probably get an idea of how to accomplish it by reviewing
> the JVMTI client code (see platform/org.eclipse.tptp.platform.jvmti.client).
>
> For as long as your profiler outputs data in the format expected by TPTP's
> data processor, then you'll be able to load the events just like the JVMPI
> of JVMTI profiler.
>
> Here are some documents that may help:
> http://www.eclipse.org/tptp/platform/documents/resources/pro filingspec/XML4Profiling.htm
> http://www.eclipse.org/tptp/platform/documents/resources/pro filingspec/trace.dtd.html
> http://www.eclipse.org/tptp/platform/documents/tutorials/dat acollection/launch-extensions/extending-launch-configuration .html
>
> Good luck,
> Ali Mehregani
>
>
> "Mike Bernat" <mike.bernat@gmail.com> wrote in message
> news:etpd35$enm$1@utils.eclipse.org...
>> I all looking at implementing a profiling mechanism for an external
>> domain-specific language environment. When launched, there is already a
>> connection from its runtime process back to the workbench for things like
>> log messages and debugging. I would like to piggyback the profile data on
>> this same connection. Is this possible, and if so, is there an example for
>> delivering profile data outside of the AgentController framework?
>>
>> Thanks in advance,
>> Mike
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03644 seconds