profilingprofileryourkit

yourkit cpu view and top command - showing different results


I am looking at my process via top command and it shows very high value on the CPU%. however when I look on the same process via yourkit cpu view it shows completely different result. how can it be ? top command

yourkit cpu view


Solution

  • YourKit profiler treats entire CPU with all cores as 100%. It means that if you have 4 cores and 1 core is fully loaded and other 3 cores sleep, then CPU usage will be 25% (not 100%).

    After this explanation YourKit results correlate good with "top".