|Re: Is Object.wait() time included in Cumulative Time? [message #105651 is a reply to message #105637]
||Thu, 19 July 2007 02:06
| Asaf Yaffe
Registered: July 2009
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?
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.
Eclipse TPTP Committer, JVMTI Profiler
Powered by FUDForum
. Page generated in 0.01459 seconds