What are times (and %) values in the Thread & Monitor views?

Questions about YourKit Java Profiler
Post Reply
Yannis
Posts: 20
Joined: Wed Oct 02, 2013 10:07 am

What are times (and %) values in the Thread & Monitor views?

Post by Yannis »

Hi !

I have a hard time understanding what the Time values (and %) correspond to in the Threads and Monitor Usage views.

For instance, there are 10 threads that I am interested in, which probably all started at the same time, were running for the same durations and were locked by each others for similar reasons and for similar periods of time. (At least, that's fair. ;-))

In the Threads view, the Time column displays values around 10,000 ms / 8 % for all 10 threads. What's this ?

In the Monitor Usage view, the Time column displays values around 75,000 ms / 57 % for all 10 threads and the Count column displays values around 34,000 / 10 %. What are these ?

Thanks in advance for your explanations !
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: What are times (and %) values in the Thread & Monitor vi

Post by Anton Katilin »

Hi,

Threads view's Time column shows thread CPU time.
Monitor profiling results show wall time.

Please find explanation of time measurement here:
http://yourkit.com/docs/java/help/times.jsp
Yannis
Posts: 20
Joined: Wed Oct 02, 2013 10:07 am

Re: What are times (and %) values in the Thread & Monitor vi

Post by Yannis »

Thanks for your answer !

I had read this page, but didn't make the link. My fault. However, it could be more useful to write this information right in the appropriate pages...

Thanks again !
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: What are times (and %) values in the Thread & Monitor vi

Post by Anton Katilin »

Hi,

We've added a note about using the wall time in the monitor profiling help page.

Also, we'll change the column name from "Time" to "CPU Time" in the threads view.

Best regards,
Anton
Yannis
Posts: 20
Joined: Wed Oct 02, 2013 10:07 am

Re: What are times (and %) values in the Thread & Monitor vi

Post by Yannis »

Guys, once again, you rock !

Keep up the good work,
Yannis
Post Reply