Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » mac OS x tptp support?
mac OS x tptp support? [message #141780] Tue, 14 April 2009 15:15 Go to next message
steve is currently offline steveFriend
Messages: 3
Registered: July 2009
Junior Member
I get the following message when trying to profile my java class on apple
mac OSX. After googling I saw that this mac is supposed to be supported
as of version 4.5.2 of TPTP. Is that true? I did the automatic update
via eclipse and I believe I got versions 4.2 to 4.5 depending on the TPTP
capability.

If I need 4.5.2 how do I know what to download and which pieces of TPTP
and dependencies that I will need?

If TPTP won't work on the mac, is there a preferred free method level
profiler for eclipse?

<<Your platform is not supported by Eclipse TPTP. The Integrated Agent
Controller will be disabled.
To profile on a supported host, please install and use a stand-alone Agent
Controller on that host.
Your platform is not supported by Eclipse TPTP. The Integrated Agent
Controller will be disabled.
To profile on a supported host, please install and use a stand-alone Agent
Controller on that host.
>>
Re: mac OS x tptp support? [message #141803 is a reply to message #141780] Tue, 14 April 2009 15:56 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Steve,

Mac OS support of Agent Controller is not yet available on TPTP. The
development is tracked under bug 68111 and feel free to add yourself to the
Bugzilla entry to track the process. Currently there is no target
date/release for the support.

There is Cobertura (http://cobertura.sourceforge.net/) that has code
coverage support. I have not used it but it sounds like it may work on Mac
OS.

Eugene

"steve " <steve@stevesouza.com> wrote in message
news:23be63952f68898d1ebf1e1cd67af015$1@www.eclipse.org...
>I get the following message when trying to profile my java class on apple
>mac OSX. After googling I saw that this mac is supposed to be supported
>as of version 4.5.2 of TPTP. Is that true? I did the automatic update via
>eclipse and I believe I got versions 4.2 to 4.5 depending on the TPTP
>capability.
> If I need 4.5.2 how do I know what to download and which pieces of TPTP
> and dependencies that I will need?
> If TPTP won't work on the mac, is there a preferred free method level
> profiler for eclipse?
>
> <<Your platform is not supported by Eclipse TPTP. The Integrated Agent
> Controller will be disabled. To profile on a supported host, please
> install and use a stand-alone Agent Controller on that host. Your platform
> is not supported by Eclipse TPTP. The Integrated Agent Controller will be
> disabled. To profile on a supported host, please install and use a
> stand-alone Agent Controller on that host.
>>>
>
>
Re: mac OS x tptp support? [message #141812 is a reply to message #141803] Tue, 14 April 2009 16:07 Go to previous messageGo to next message
steve is currently offline steveFriend
Messages: 3
Registered: July 2009
Junior Member
Thanks for the info. Cobertura seems to only due code coverage not
execution time. http://cobertura.sourceforge.net/sample/

Are there any other options? I am currently doing the following, which
works however it is a file dump and hard to go through and doesn't do all
that I wish.

java -cp ..:my.jar -Xrunhprof:cpu=samples,depth=6,heap=sites
com.mypackage.MyClass
Re: mac OS x tptp support? [message #141820 is a reply to message #141803] Tue, 14 April 2009 16:40 Go to previous message
steve is currently offline steveFriend
Messages: 3
Registered: July 2009
Junior Member
There is Cobertura seems to only have coverage, not performance metrics.
(http://cobertura.sourceforge.net/)

I have been using the following: java -cp ..:my.jar
-Xrunhprof:cpu=times,depth=6 com.mypackage.MyClass

However, the information is difficult to understand. For example it shows
a lot of time is taken in the String method, however it doesn't let me see
which of the classes I own and can change, are calling the String method
the most. Is there a gui tool for this? Or is there some other approach?
Previous Topic:TPTP stops collecting data after a few minutes
Next Topic:Monitoring WebLogic Server....
Goto Forum:
  


Current Time: Sun Dec 21 18:45:35 GMT 2014

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

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