I am using JTOP plugin of JConsole in VisualVM. It somes me the CPU(secs) usage. I am trying to understand the meaning of this, is it?
- a) Time (in secs) the theead is
running of CPU. - b) Time (in secs) the
thread started running for the first
time (it might not be running always) - c) Some other time?
Thanks in anticipation.
If you mean the JTop Jconsole plugin from the demo/management folder of the JDK distribution:
It uses ThreadMXBean.getThreadCpuTime(long) to get the cpu time. The javadoc for this method states:
This value is divided by 10E9 by the plugin before put into the table, so you see the amount of Time the process was using the CPU in seconds.