Txt file instead of .TRCXML [message #129443] |
Mon, 28 April 2008 11:31  |
Eclipse User |
|
|
|
Originally posted by: ebraun.site.uottawa.ca
Hi,
I am trying to get an execution trace and CPU usage for a simple java
application and dump the result to a text file. Is that a supported
feature?
Also is it not possible to collect more than one kind of information from
the same execution? (for example execution trace and CPU usage)
The problem I am having is first.....
.......... On the profile Dialog
............... Under the monitor tab
...................... I can't select more than one item. (e.g Execution
Time Analysis and Probe insertion)
I would appreciate any help you may have for me or point me to a good
tutorial.
PS: This is a repost I thought may be I will clarify my question.
Thanks,
EB
|
|
|
|
Re: Txt file instead of .TRCXML [message #129748 is a reply to message #129493] |
Mon, 05 May 2008 10:17   |
Eclipse User |
|
|
|
Originally posted by: ebraun.site.uottawa.ca
Hi Asaf,
Thankyou very much for taking the time to answer my questions.
So if I understand you correctly I can only collect one kind of information
at a time? Does it mean I can get the execution trace & CPU usage *at the
same time* if I use older versions of Java? Earlier than 1.5?
Also, I am new to Eclipse and tptp can you please recomend a tutorial that
would help me use tptp 4.4 fully? The ones I have been able to find are for
older versions of tptp and the screen captures do not look like the windows
that I have.
Cheers,
Edna
----- Original Message -----
From: "Asaf Yaffe" <asaf.yaffe@intel.com>
Newsgroups: eclipse.tptp
Sent: Tuesday, April 29, 2008 3:59 AM
Subject: Re: Txt file instead of .TRCXML
>> Hi,
>>
>> I am trying to get an execution trace and CPU usage for a simple java
>> application and dump the result to a text file. Is that a supported
>> feature?
>
> There are some options in the Viewers to export the data into various
> formats. You can import the generated TRCXML file into the workbench
> (using the Eclipse Import option) and experiment with this.
>
> Or, you can try to convert the XML file yourself. Not very complex, but it
> will take you some time.
>
>>
>> Also is it not possible to collect more than one kind of information
>> from the same execution? (for example execution trace and CPU usage)
>>
>> The problem I am having is first.....
>> ......... On the profile Dialog
>> .............. Under the monitor tab
>> ..................... I can't select more than one item. (e.g
>> Execution Time Analysis and Probe insertion)
>
> This limitation is by design with the new Java 1.5+ profiler.
>
> HTH,
> Asaf
>
> --
> Asaf Yaffe
> Eclipse TPTP Committer, JVMTI Profiler
|
|
|
Re: Txt file instead of .TRCXML [message #130154 is a reply to message #129748] |
Thu, 15 May 2008 08:40  |
Eclipse User |
|
|
|
Hi Edna,
>
> So if I understand you correctly I can only collect one kind of information
> at a time? Does it mean I can get the execution trace & CPU usage *at the
> same time* if I use older versions of Java? Earlier than 1.5?
Almost :)
You need to use the "old" TPTP data collector with a Java 1.5 or earlier
JVM. When you use TPTP (4.4.1) with Java 1.5, the Monitor page (in the
Profiler launch configuration) should show 2 data collectors: Java 1.5+
and Java 1.5-. You can also try this with a Java 1.4 JVM...
But - before doing that, please think whether you *really* need multiple
data collectors for the same run? Does this use-case really makes sense?
>
> Also, I am new to Eclipse and tptp can you please recomend a tutorial that
> would help me use tptp 4.4 fully? The ones I have been able to find are
> for
> older versions of tptp and the screen captures do not look like the windows
> that I have.
>
There are a few tutorials in the TPTP web site. I am not aware of
anything newer.
HTH,
Asaf
--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
|
|
|
Powered by
FUDForum. Page generated in 0.06081 seconds