Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Missing execution statistics??
Missing execution statistics?? [message #52412] Wed, 01 February 2006 15:07 Go to next message
Eclipse UserFriend
Originally posted by: bourne_2002.yahoo.com

Hi,

I am trying to remotely profile an application. I get the execution
statistics but I see 0 times for many methods which I know is not right.
For example:
A.f() calls B.f() and times for A.f() are shown as 1.x secs but time for
B.f() is 0 when really all A.f() does is call B.f(). Is there some problem
with duplicating the same time for different methods??

I know its not a filtering issue as the method shows up in the view but
with incorrect times - could someone PLEASE help. I've already wasted a
day because of this. :(

I am using JDK1.5.0_06 and TPTP version is 4.1.0, Eclipse is 3.1.1.

Thanks!
- Jason
Re: Missing execution statistics?? [message #52427 is a reply to message #52412] Wed, 01 February 2006 15:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bourne_2002.yahoo.com

The number of invocations is also wrong for some methods - I know the
method is being called but its number of invocations is shown to be 0 -
any ideas? is it possible to look at the JVMPI profiled data directly to
see if its a problem with profiled data collection?
Re: Missing execution statistics?? [message #52666 is a reply to message #52427] Thu, 02 February 2006 20:55 Go to previous message
Eclipse UserFriend
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com

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

Here's what I can suggest:

>I know its not a filtering issue as the method shows up in the view but
>with incorrect times

This can still be a filtering issue. The profiler does sometimes show up
the methods that are suppose to be filtered out, but it displays zero
entries for their times and counters. I know, it's a strange behaviour.
Make sure the method that's showing the incorrect times is not being
filtered out.

> is it possible to look at the JVMPI profiled data directly to
> see if its a problem with profiled data collection?

Yes, you can profile to a file and view the content of the collected data.
In your profile launch configuration, select the profiling tab -> select
the destination tab -> 'Send profiling data to a file' -> specify the full
path of a filename with .trcxml extension -> profile -> open the file with
winzip -> extract the XML file inside it. Your problem can occur if there
is a methodEntry element for your method, but there isn't a corresponding
methodExit element for it. This can be caused by a disruption during the
collection of profiling data (e.g.: pausing or detaching an agent).

> I am using JDK1.5.0_06 and TPTP version is 4.1.0, Eclipse is 3.1.1.

Even though TPTP 4.1 shouldn't have any problems with JDK1.5, it was only
tested with JDK1.4 so you might consider switching JDKs.

Hope this helps,

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


<br><font size=2 face="sans-serif">Here's what I can suggest:</font>
<br>
<br><font size=2><tt>&gt;I know its not a filtering issue as the method
shows up in the view but <br>
&gt;with incorrect times</tt></font>
<br>
<br><font size=2 face="sans-serif">This can still be a filtering issue.
&nbsp;The profiler does sometimes show up the methods that are suppose
to be filtered out, but it displays zero entries for their times and counters.
&nbsp;I know, it's a strange behaviour.</font>
<br><font size=2 face="sans-serif">Make sure the method that's showing
the incorrect times is not being filtered out.</font>
<br>
<br><font size=2><tt>&gt; is it possible to look at the JVMPI profiled
data directly to <br>
&gt; see if its a problem with &nbsp;profiled data collection?<br>
</tt></font>
<br><font size=2 face="sans-serif">Yes, you can profile to a file and view
the content of the collected data. &nbsp;In your profile launch configuration,
select the profiling tab -&gt; select the destination tab -&gt; 'Send profiling
data to a file' -&gt; specify the full path of a filename with .trcxml
extension -&gt; profile -&gt; open the file with winzip -&gt; extract the
XML file inside it. &nbsp;Your problem can occur if there is a methodEntry
element for your method, but there isn't a corresponding methodExit element
for it. &nbsp;This can be caused by a disruption during the collection
of profiling data (e.g.: pausing or detaching an agent).</font>
<br>
<br><font size=2 face="sans-serif">&gt;</font><font size=2><tt> I am using
JDK1.5.0_06 and TPTP version is 4.1.0, Eclipse is 3.1.1.</tt></font>
<br>
<br><font size=2 face="sans-serif">Even though TPTP 4.1 shouldn't have
any problems with JDK1.5, it was only tested with JDK1.4 so you might consider
switching JDKs.</font>
<br>
<br><font size=2 face="sans-serif">Hope this helps,</font>
<br><font size=2 face="sans-serif"><br>
Navid Mehregani</font>
--=_alternative 0072E71585257109_=--
Previous Topic:Running TPTP tests from an external framework
Next Topic:AGR does not recognize confirmation dialog
Goto Forum:
  


Current Time: Sat Dec 20 06:07:41 GMT 2014

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

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