Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Is Object.wait() time included in Cumulative Time?
Is Object.wait() time included in Cumulative Time? [message #105637] Wed, 18 July 2007 19:21 Go to next message
Eclipse User
Originally posted by: tbell.selkirksystems.com

I am having a hard time interpreting the output in TPTP 4.2 Execution
Statistics.  All my exorbitant times seem to be in my background
threads that all block  on wait()  until notified.  Does the profiler
ignore wait times?  can I tell it to?

-tb
Re: Is Object.wait() time included in Cumulative Time? [message #105651 is a reply to message #105637] Thu, 19 July 2007 06:06 Go to previous message
Asaf Yaffe is currently offline Asaf Yaffe
Messages: 333
Registered: July 2009
Senior Member
Terry Bell wrote:
> I am having a hard time interpreting the output in TPTP 4.2 Execution
> Statistics. All my exorbitant times seem to be in my background threads
> that all block on wait() until notified. Does the profiler ignore
> wait times? can I tell it to?
>
> -tb
>

An execution time of a method (its "base time") is defined as the time
spent within the method (from entry to exit). This includes wait times.
You can optionally turn on collection for "CPU Times", which suppose to
measure only the "busy" time of a method and ignore idle CPU cycles. The
"CPU Time" is obtained directly from JVM counters (using JVMPI/JVMTI)
which are not very accurate, so don't expect the data to be accurate.
You may want to try this option and see if you get better results. You
can also use filters to fine-tune the list of methods the profiler tracks.

HTH,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Previous Topic:Agent Controller Vs Webserver
Next Topic:Memory leak analysis
Goto Forum:
  


Current Time: Mon Sep 22 04:19:38 GMT 2014

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

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