Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » CPU utilization versus CPU time
CPU utilization versus CPU time [message #121353] Thu, 24 January 2008 15:51 Go to next message
Tony Anecito is currently offline Tony AnecitoFriend
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 07:43 Go to previous message
Asaf Yaffe is currently offline Asaf YaffeFriend
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: Tue Mar 19 02:45:54 GMT 2024

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

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

Back to the top