CPU utilization versus CPU time [message #121353] |
Thu, 24 January 2008 10:51  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04156 seconds