简体   繁体   English

NetBeans探查器-时间浪费了吗?

[英]NetBeans profiler - time is lost somewere?

I tried to profile my application using built-in NetBeans profiler. 我尝试使用内置的NetBeans探查器对应用程序进行探查。 Result completely make sense, instead of one thing - sum of time for sub-methods and self-time of method is not equal to the value, which is displayed for method. 结果完全有意义,而不是一件事-子方法的时间总和与方法的自身时间不等于该值,该值显示为方法。 Ie self-time is 257ms, sub-methods - 110ms, and value for method is 1022. 1022 - 257 - 110 = 655ms. 即自拍时间为257毫秒,子方法-110毫秒,方法的值为1022。1022-257-110 = 655毫秒。 Can you tell me where this time is lost? 你能告诉我这个时间在哪里丢失吗?

Is dynamic CPU frequency switching turned on? 动态CPU频率切换是否打开? Try disabling it, rerun the profiler calibration and re-profile the project. 尝试禁用它,重新运行探查器校准并重新探查项目。

In case it doesn't help I would recommend filing an issue for profiler at http://netbeans.org/bugzilla/ 万一它没有帮助,我建议在http://netbeans.org/bugzilla/上向探查器提出问题。

Don't forget to attach the sample project (if possible). 不要忘了附加示例项目(如果可能)。

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

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