This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
There are four possible configuration of particular thread state between two samples. 1) Running -> Not Running 2) Running -> Running 3) Not Running -> Running 4) Not Running -> Not Running Thread CPU time should be incremented for the first two cases. Currently it is incremented for case 2) and 3), which incorrectly adds a fraction of the CPU time to every invocation of Object.wait() or Thread.sleep()
Fixed in profiler-main changeset: 145035:9cf5655045e3 user: Tomas Hurka <thurka@netbeans.org> date: Tue Sep 15 10:22:44 2009 +0200 summary: bugfix #172255, fix computation of thread CPU time
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9cf5655045e3 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #172255, fix computation of thread CPU time