NetBeans profiler - time is lost somewere?
I tried to profile my开发者_开发知识库 application using built-in NetBeans profiler. 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. I.e. self-time is 257ms, sub-methods - 110ms, and value for method is 1022. 1022 - 257 - 110 = 655ms. Can you tell me where this time is lost?
Is dynamic CPU frequency switching turned on? 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/
Don't forget to attach the sample project (if possible).
精彩评论