如何以编程方式使用Netbeans Profiler?

我希望能够使用Netbeans Profiler API对某些应用程序进行一些分析.我对使用Visual VM不感兴趣,而是以编程方式从应用程序中收集数据[比如CPU使用率和方法执行时间].例如,使用CPU使用率和热方法.例如,如何获取数据并将其打印在控制台上? 最佳答案 这是来自Jiri Sedlacek–一个VisualVM开发者:

There’s nothing like ‘Netbeans
Profiler API’, the profiler doesn’t
have any API for public usage. Neither
VisualVM nor the NetBeans Profiler
will help you with this

这就是人们!

点赞