Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 UserFriend
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 YaffeFriend
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: Thu Apr 25 06:22:15 GMT 2024

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

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

Back to the top