Don't understand CPU view :(

Questions about YourKit Java Profiler
Post Reply
Gibson
Posts: 181
Joined: Mon Apr 11, 2005 10:38 am

Don't understand CPU view :(

Post by Gibson »

A few questions:
1) What is the difference between "wall time" and just "time"?
2) Why do I only see "time" in snapshots generated by sampling?
3) Why are the "own time" views always empty?
4) Is it normal that the "noticeable" slowdown during tracing means that my application runs approximately 100x slower?

R

(YK 4.0.8, integrated with Idea Irida build 3290)
Vladimir Kondratyev
Posts: 1626
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

1) What is the difference between "wall time" and just "time"?
"wall time" is a time that was spent in a method including time when the thread wasn't running.
2) Why do I only see "time" in snapshots generated by sampling?
This is limitation of sampling method. Instead of tracing, sampling just periodically scans thread call stacks. So sampler doesn't know what methods were invoked in the period between scans.
3) Why are the "own time" views always empty?
Actually it's a bug (or not implemented feature :)). The reason is that all "own times" are less than 1% of total thread time, i.e. there is nothing to show.

4) Is it normal that the "noticeable" slowdown during tracing means that my application runs approximately 100x slower?
It's possible. I'm not sure about 100x, but real value depends on code structure. Profiler agent listens all method enter/exit events, so if you application calls zillions of methods, then everything will be slow.

Regards,
Vladimir
Post Reply