JProfiler offers a live call-tree view so you can see what's using CPU in real-time and drill down for the details. Reset the counts to zero at any time, rinse, repeat.
I'm currently without that tool, and trying to get by with free/open alternatives. jvisualvm and the NetBeans profiler have a static snapshot call-tree and a live flat view. It seems to reason that there would a live call-tree view available (or as a plugin) but I can't seem to find one.
Is this sort of feature only available in commercial profilers?
Thanks.
If you hit the 'Snapshot' button in the Sampler or Profiler windows after profiling CPU usage, it will show you a call tree with a summary of the CPU time for each method, along with self-times.
Source: https://stackoverflow.com/a/12809814/952135
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With