Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Txt file instead of .TRCXML
Txt file instead of .TRCXML [message #129443] Mon, 28 April 2008 15:31 Go to next message
Eclipse UserFriend
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 #129493 is a reply to message #129443] Tue, 29 April 2008 07:59 Go to previous messageGo to next message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
> 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 #129748 is a reply to message #129493] Mon, 05 May 2008 14:17 Go to previous messageGo to next message
Eclipse UserFriend
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 12:40 Go to previous message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
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
Previous Topic:Exec time profiling using CPU samples?
Next Topic:An unexpected error has been detected by Java Runtime Environment
Goto Forum:
  


Current Time: Fri Apr 19 19:44:35 GMT 2024

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

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

Back to the top