| Missing execution statistics?? [message #52412] | 
Wed, 01 February 2006 10:07   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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 #52666 is a reply to message #52427] | 
Thu, 02 February 2006 15:55   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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>>I know its not a filtering issue as the method 
shows up in the view but <br> 
>with incorrect times</tt></font> 
<br> 
<br><font size=2 face="sans-serif">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.</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>> is it possible to look at the JVMPI profiled 
data directly to <br> 
> see if its a problem with  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.  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).</font> 
<br> 
<br><font size=2 face="sans-serif">></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_=--
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.13567 seconds