Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » CPU utilization versus CPU time
CPU utilization versus CPU time [message #121353] Thu, 24 January 2008 10:51 Go to next message
Tony Anecito is currently offline Tony Anecito
Messages: 20
Registered: July 2009
Junior Member
Hi All,

Is there a way to get CPU utilization for a method versus time? I thought
I saw that in the TPTP 4.4.0.3 I am using but the numbers did not make
sense to me. I was seeing numbers like 1.023 and not sure what that means.
To me this is important becasue TPTP can not tell that a method is in a
tight loop inside a thread created by say thread runnable interface that
might be using up CPU utilization.

Regards,
-Tony
Re: CPU utilization versus CPU time [message #121450 is a reply to message #121353] Mon, 28 January 2008 02:43 Go to previous message
Asaf Yaffe is currently offline Asaf Yaffe
Messages: 333
Registered: July 2009
Senior Member
Tony,

> Hi All,
>
> Is there a way to get CPU utilization for a method versus time? I
> thought I saw that in the TPTP 4.4.0.3 I am using but the numbers did
> not make sense to me. I was seeing numbers like 1.023 and not sure what
> that means.
> To me this is important becasue TPTP can not tell that a method is in a
> tight loop inside a thread created by say thread runnable interface that
> might be using up CPU utilization.
>
> Regards,
> -Tony
>

CPU Times are available in the TPTP Profiler. To enable them, you need
to double-click on the Execution Time Analysis data collector (in the
Monitor tab of the Profiler launch configuration) and enable the "CPU
Times" attribute. Note, however, that the CPU Times we collect are based
on JVM counters which are not very accurate, and personally I find this
information to be non-useful.

HTH,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Previous Topic:TPTP & jre 1.6
Next Topic:C/C++ static analysis - Identifying system functions
Goto Forum:
  


Current Time: Mon Jul 28 08:41:27 EDT 2014

Powered by FUDForum. Page generated in 0.01727 seconds