简体   繁体   English

是否有针对jvisualvm或NetBeans探查器的调用树视图?

[英]Is there a call tree view available for jvisualvm or NetBeans profiler?

JProfiler offers a live call-tree view so you can see what's using CPU in real-time and drill down for the details. JProfiler提供实时调用树视图,因此您可以实时查看使用CPU的内容并深入了解详细信息。 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. jvisualvm和NetBeans探查器具有静态快照调用树和实时平面视图。 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. 如果在分析CPU使用情况后点击Sampler或Profiler窗口中的“快照”按钮,它将显示一个调用树,其中包含每种方法的CPU时间摘要以及自身时间。

Source: https://stackoverflow.com/a/12809814/952135 资料来源: https//stackoverflow.com/a/12809814/952135

Given that no-one has mentioned a non-commercial version of this feature, and that I can't find one, I will claim the answer is: 鉴于没有人提到这个功能的非商业版本,而且我找不到一个,我会声称答案是:

As of the time of this post, this feature is only available in commercial profilers. 截至本文发布时,此功能仅适用于商业分析器。

Update May 2012. I Still can't find anything. 2012年5月更新。我仍然找不到任何东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM