Home » Archived » Test and Performance Tools Platform (TPTP) » I just want TPTP to work once.
I just want TPTP to work once. [message #53532] |
Fri, 10 February 2006 11:52  |
Eclipse User |
|
|
|
Originally posted by: myatt.research.ge.com
OK, I'm frustrated beyond all belief. I've gone through every install
guide, help doc, tutorial, and demo/video in the documentation section and
I still can't get TPTP to profile a simple small Java class.
WIn2kSP4
Sun JDK1.4.2
Eclipse 3.1
TPTP 4.1.0
I've got all the latest versions of everything required (EMF, XSD, etc.)
I have a simple java class with a main method that instantiates itself and
then calls another method that performs a few thousand loops with some
other code just to do something and generate objects.
I can run this class as a java app just fine.
However, I go to the Java source file in the Java perspective and
right-click. Select Profile AS > Profile. The config manager comes up. I
create a new 'Java Application' configuration for the class. For the
Profiling tab select the default 'memory analysis' that appeared after
installing TPTP. Then apply changes and click Profile. Eclipse switches to
the Profiling perspective and a new entry appears on the left in the
Profiling Monitor window. On the Console window several output statements
appear so I know the app is running. The profile entry shows
"<monitoring... collecting>Profile" with a sub-entry of Memory Analysis'.
It looks like it works. Eventually the entry changes to "<terminated...
collecting>Profile". During the profile, the status bar shows numbers
incrementing "Processed X bytes, bytes/second, etc."
However, once the profile terminates I double click the 'memory analysis'
sub-entry and the "Memory Statistics" window does open, but with the
message "No data is available to display". According to the demos and
tutorials I followed there should at least be something here. (Note : the
profile is not writing to a log file, so something should be displayed).
Am I doing something wrong?
|
|
|
Re: I just want TPTP to work once. [message #53560 is a reply to message #53532] |
Fri, 10 February 2006 12:31   |
Eclipse User |
|
|
|
The only thing I see potentially wrong is the "I've got all the latest
version of everything required (EMF, XSD, etc.)". I'd feel better if
you'd listed those with the other four and specified versions that match
that required environment (2.1 for EMF/XSD). You're not using 2.2 of
those are you? I'd feel even better yet if the minor numbers matched
those of the Eclipse version (you say 3.1 ... is it 3.1.0, .1, .2??).
Yes, any 3.1 SHOULD work with any 2.1 with our 4.1.0 ... but you can
imagine that not every combination of those has been tested.
I'm not a big profiler... I'm down below that level, and when I pop up,
it's usually with the perfmon stuff. There, believe it or not, I've seen
problems between 1.4.2_07 and 1.4.2_08 of Sun's Java (it was due to XML
parsing stuff). So I'm a little paranoid about getting versioning per
the download pages. (I'm even sitting here staring at the SP4 on your
Win2K and wondering what I'm missing back here in SP2 land! :-) )
Otherwise, I'll have to hope someone more experienced with profiling
comes along and helps you.
--
RDS
Adam Myatt wrote:
> OK, I'm frustrated beyond all belief. I've gone through every install
> guide, help doc, tutorial, and demo/video in the documentation section
> and I still can't get TPTP to profile a simple small Java class.
>
> WIn2kSP4
> Sun JDK1.4.2
> Eclipse 3.1
> TPTP 4.1.0
>
> I've got all the latest versions of everything required (EMF, XSD, etc.)
>
> I have a simple java class with a main method that instantiates itself
> and then calls another method that performs a few thousand loops with
> some other code just to do something and generate objects.
>
> I can run this class as a java app just fine.
>
> However, I go to the Java source file in the Java perspective and
> right-click. Select Profile AS > Profile. The config manager comes up. I
> create a new 'Java Application' configuration for the class. For the
> Profiling tab select the default 'memory analysis' that appeared after
> installing TPTP. Then apply changes and click Profile. Eclipse switches
> to the Profiling perspective and a new entry appears on the left in the
> Profiling Monitor window. On the Console window several output
> statements appear so I know the app is running. The profile entry shows
> "<monitoring... collecting>Profile" with a sub-entry of Memory
> Analysis'. It looks like it works. Eventually the entry changes to
> "<terminated... collecting>Profile". During the profile, the status bar
> shows numbers incrementing "Processed X bytes, bytes/second, etc."
>
> However, once the profile terminates I double click the 'memory
> analysis' sub-entry and the "Memory Statistics" window does open, but
> with the message "No data is available to display". According to the
> demos and tutorials I followed there should at least be something here.
> (Note : the profile is not writing to a log file, so something should be
> displayed).
> Am I doing something wrong?
>
|
|
| | |
Re: I just want TPTP to work once. [message #53641 is a reply to message #53532] |
Fri, 10 February 2006 15:34  |
Eclipse User |
|
|
|
Hi Adam,
First to get data in the Memory Statistic view you need to enable the
"Memory Analysis->Basic Memory Analysis" option in the profiling set
that you use to profile the application.
Was the "events processed" greater than 0 in the status bar?
If it is 0 then you may have chosen the profile to a file option in the
Profiling->Destination tab, disable that option if you want live data or
you can import the file specified there using "Import Profiling file"
wizard.
If it is greater then 0 then I would try to open the Execution
Statistics view and if it doesn't have any data, make sure you select
"No filter" in the Filter pop-up menu (from the view toolbar).
Regards,
Marius
Adam Myatt wrote:
> OK, I'm frustrated beyond all belief. I've gone through every install
> guide, help doc, tutorial, and demo/video in the documentation section
> and I still can't get TPTP to profile a simple small Java class.
>
> WIn2kSP4
> Sun JDK1.4.2
> Eclipse 3.1
> TPTP 4.1.0
>
> I've got all the latest versions of everything required (EMF, XSD, etc.)
>
> I have a simple java class with a main method that instantiates itself
> and then calls another method that performs a few thousand loops with
> some other code just to do something and generate objects.
>
> I can run this class as a java app just fine.
>
> However, I go to the Java source file in the Java perspective and
> right-click. Select Profile AS > Profile. The config manager comes up. I
> create a new 'Java Application' configuration for the class. For the
> Profiling tab select the default 'memory analysis' that appeared after
> installing TPTP. Then apply changes and click Profile. Eclipse switches
> to the Profiling perspective and a new entry appears on the left in the
> Profiling Monitor window. On the Console window several output
> statements appear so I know the app is running. The profile entry shows
> "<monitoring... collecting>Profile" with a sub-entry of Memory
> Analysis'. It looks like it works. Eventually the entry changes to
> "<terminated... collecting>Profile". During the profile, the status bar
> shows numbers incrementing "Processed X bytes, bytes/second, etc."
>
> However, once the profile terminates I double click the 'memory
> analysis' sub-entry and the "Memory Statistics" window does open, but
> with the message "No data is available to display". According to the
> demos and tutorials I followed there should at least be something here.
> (Note : the profile is not writing to a log file, so something should be
> displayed).
> Am I doing something wrong?
>
|
|
|
Goto Forum:
Current Time: Tue Apr 29 02:41:43 EDT 2025
Powered by FUDForum. Page generated in 0.09056 seconds
|