Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » HELP with Integrated Agent !!
HELP with Integrated Agent !! [message #90373] Thu, 14 December 2006 18:56 Go to next message
Francesco Furfari is currently offline Francesco Furfari
Messages: 11
Registered: July 2009
Junior Member
Hello everybody,
I have probably a stupid problem but I'm not able to understand what I'm
missing.

I'm trying to profile the "sample-calculator" java application released
with the Tuscany/java M1 release.

The profiling seems to works,in fact at the end I can save the report of
all the events profiled, BUT no viewers are able to show me something. I
recall that right-clicking on the agent should appear a menu : "open
with" but I cannot see it, I can just save the reports.

I'm using the Eclipse 3.2 Callisto version with all the TPTP bundles
updated this morning.
In the monitor TAB I've selected the "Execution Time Analisys" with the
option "Show execution graphical details"

Please help me !!
francesco
Re: HELP with Integrated Agent !! [message #90539 is a reply to message #90373] Tue, 19 December 2006 16:34 Go to previous messageGo to next message
Eclipse User
Originally posted by: nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 005B177185257249_=
Content-Type: text/plain; charset="US-ASCII"

Hello,

Can you check over your filtering criteria as outlined in step 2.0 of
http://www.eclipse.org/tptp/platform/documents/speed_profili ng/speedUpProfiling.html
?

Navid Mehregani
--=_alternative 005B177185257249_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">Can you check over your filtering criteria
as outlined in step 2.0 of http://www.eclipse.org/tptp/platform/documents/speed_profili ng/speedUpProfiling.html
?</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 005B177185257249_=--
Re: HELP with Integrated Agent !! [message #90705 is a reply to message #90539] Fri, 22 December 2006 17:59 Go to previous messageGo to next message
Francesco Furfari is currently offline Francesco Furfari
Messages: 11
Registered: July 2009
Junior Member
Navid_Mehregani wrote:
> Hello,
>
> Can you check over your filtering criteria as outlined in step 2.0 of
> http://www.eclipse.org/tptp/platform/documents/speed_profili ng/speedUpProfiling.html
> ?
>
> Navid Mehregani


Hello,
here what I'm using:

Agent discoverer - not used

Monitor/Java Profiling/filter set:
calculator* * include
com.ibm* * exclude
com.sun* * exclude
COM.ibm* * exclude
java* * exclude
org* * include
sun* * exclude

Monitor/Java Profiling/filter set/limits:
Limit the amount of the collected data - not used
start automatically - checked

Monitor/Java Profiling/Basic Memory Analisys - checked
Monitor/Java Profiling/Basic Memory Analisys/collect instance level info
- checked

Monitor/Java Profiling/Execution time Analisys - checked
Monitor/Java Profiling/Execution time Analisys/level of details -not used
Monitor/Java Profiling/Execution time Analisys/Type of data/Show
execution flow graphical details - checked

Monitor/Java Profiling/method code coverage - checked

Monitor/Java Profiling/Probe Insertion - not used

Destination/Profiling Project: \ProfileProject
Destination/Monitor: DefaultMonitor
Destination/send profiling data to a file - not used

-------------

As I said the agent seems to collect information,
I can see the messages flow ... monitoring ...collecting ... terminated.
the console prompting the right application messages
and the task bar showing the event processed.

at the end I can save an XML report like:
<?xml version="1.0" encoding="UTF-8"?>
<Contents name="Basic Memory Analysis">
<Agent name="Java Profiling Agent" type="Profiler"
runtimeId="cc97bd4c-cf0b-450f-9ea9-5b3b28aa65da"
startTime="1.1667892121729999E9" stopTime="1.1667894352907228E9"
collectionMode="HEAP_AND_EXECUTION_FULL">
<process pid="492" id="3ae538f3-fe57-4000-ac2d-533b08684a69"
startTime="1.4046730995178223" lastEventTime="220.53399753570557"
baseTime="218.22343360127215" cumulativeTime="2227.313597240894"
calls="309103" totalSize="1860808" totalInstances="25699" classClass="242"/>
<threads name="main" id="2" startTime="1.4126741886138916"
stopTime="220.47296738624573" maxStackDepth="41"/>
<packages name="" baseTime="12.3913758779418"
cumulativeTime="13.019569040369714" calls="761" totalSize="1022024"
totalInstances="4019" collectedSize="765408" collectedInstances="1318">
<classes name="int" id="5" loadTime="1.4209601879119873"
baseTime="0.0" cumulativeTime="0.0" calls="0" totalSize="0"
totalInstances="0" collectedSize="0" collectedInstances="0" loadedBy="2"
sourceInfo="" classObjects="-5 -5 ">
</classes>
<classes name="[int" id="-5" loadTime="1.4210009574890137"
baseTime="0.0" cumulativeTime="0.0" calls="0" totalSize="607832"
totalInstances="310" collectedSize="592520" collectedInstances="44"
loadedBy="2" classObjects="-5 ">
</classes>
<classes name="char" id="3" loadTime="1.4218766689300537"
baseTime="0.0" cumulativeTime="0.0" calls="0" totalSize="0"
totalInstances="0" collectedSize="0" collectedInstances="0" loadedBy="2"
sourceInfo="" classObjects="-3 -3 ">
</classes>
<classes name="[char" id="-3" loadTime="1.4218902587890625"
baseTime="0.0" cumulativeTime="0.0" calls="0" totalSize="306568"
totalInstances="2697" collectedSize="154904" collectedInstances="1162"
loadedBy="2" classObjects="-3 ">
</classes>

......

<packages name="org.apache.tuscany.core.system.assembly.impl"
baseTime="0.0076345391308578195" cumulativeTime="0.3852700866217418"
calls="120" totalSize="1208" totalInstances="46" collectedSize="8"
collectedInstances="1">
<classes name="SystemAssemblyFactoryImpl" id="23591"
loadTime="4.656033992767334" baseTime="0.00576801216247403"
cumulativeTime="0.38442303337223005" calls="53" totalSize="88"
totalInstances="11" collectedSize="8" collectedInstances="1"
loadedBy="2" sourceInfo="SystemAssemblyFactoryImpl.java"
classObjects="23592 23592 ">
<methods name="createSystemModule" id="23585" signature="()
org.apache.tuscany.core.system.assembly.SystemModule" baseTime="0.0"
cumulativeTime="0.0" calls="0"/>
<methods name="createSystemEntryPoint" id="23586"
signature="(java.lang.String, java.lang.Class, java.lang.String)
org.apache.tuscany.model.assembly.EntryPoint"
baseTime="0.0013211070971929878" cumulativeTime="0.11320336600221172"
calls="3"/>
<methods name="createSystemComponent" id="23587"
signature="(java.lang.String, java.lang.Class, java.lang.Class,
org.apache.tuscany.model.assembly.Scope)
org.apache.tuscany.model.assembly.Component"
baseTime="0.0018273486816098227" cumulativeTime="0.16260565698547694"
calls="4"/>
<methods name="createSystemBinding" id="23588" signature="()
org.apache.tuscany.core.system.assembly.SystemBinding"
baseTime="5.884579882807238E-4" cumulativeTime="0.028507002149653092"
calls="3"/>
<methods name="createSystemImplementation" id="23589"
signature="()
org.apache.tuscany.core.system.assembly.SystemImplementation "
baseTime="0.0014987006567430364" cumulativeTime="0.10921502524536557"
calls="32"/>
<methods name="SystemAssemblyFactoryImpl" id="23590"
signature="()" baseTime="5.32397738647461E-4"
cumulativeTime="5.66839270629883E-4" calls="11"/>
</classes>
<classes name="SystemImplementationImpl" id="70589"
loadTime="73.9618239402771" baseTime="0.0016677608416748042"
cumulativeTime="0.009060150728759316" calls="64" totalSize="1024"
totalInstances="32" collectedSize="0" collectedInstances="0"
loadedBy="2" sourceInfo="SystemImplementationImpl.java"
classObjects="70590 70590 ">
<methods name="getImplementationClass" id="70586" signature="()
java.lang.Class" baseTime="0.0" cumulativeTime="0.0" calls="0"/>
<methods name="setImplementationClass" id="70587"
signature="(java.lang.Class) void" baseTime="8.556027404785156E-4"
cumulativeTime="9.511751849365236E-4" calls="32"/>
<methods name="SystemImplementationImpl" id="70588"
signature="()" baseTime="8.121581011962892E-4"
cumulativeTime="0.008108975543822792" calls="32"/>
</classes>

....

and so on

the problem is that I'm not able to see anything in the opened viewer :(

I tried also to import the report saved as .trcxml file but nothing happens.

It seems that the viewers are not aware of the data profiled.

I believe it is due to a bad Eclipse configuration but I don't figure
out where is the problem, as I said I've just updated the plugins.

any idea?

thanks francesco
Re: HELP with Integrated Agent !! [message #90983 is a reply to message #90705] Fri, 05 January 2007 19:33 Go to previous message
Eclipse User
Originally posted by: nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 006B71F78525725A_=
Content-Type: text/plain; charset="US-ASCII"

Sorry for the late response. I've been away for the holidays.

Can you send me your trcxml file. I'd like to import it in my workbench
to see whether I can view it.

Navid Mehregani
--=_alternative 006B71F78525725A_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Sorry for the late response. &nbsp;I've
been away for the holidays. </font>
<br>
<br><font size=2 face="sans-serif">Can you send me your trcxml file. &nbsp;I'd
like to import it in my workbench to see whether I can view it.</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 006B71F78525725A_=--
Previous Topic:Modification in AGR test suite
Next Topic:"Exception in thread "main" java.lang.NoClassDefFoundError: " while profiling
Goto Forum:
  


Current Time: Wed Oct 22 03:26:03 GMT 2014

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

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