Skip to main content



      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 10:51 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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: Thu May 08 04:11:37 EDT 2025

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

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

Back to the top