Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
热点视图(cpu 视图)显示固有时间的时间单位不正确。我尝试分析一个同时复制物理文件 200 次的应用程序。应用程序在 1.2 秒内完成,而 jprofiler 快照显示特定方法需要 122 秒。那很奇怪。
任何使用过 jprofiler 的人?
这看起来不错。JProfiler 显示经过的时间,而不是 CPU 时间。默认情况下,CPU 视图会累积所有线程,因此对于 200 个并发线程,显示的时间测量值应该是单个线程时间测量值的 200 倍以上。
您可以使用顶部的线程选择器切换到单个线程,然后您将看到与总运行时间相对应的时间。