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.

Bug 67197 - Interim live cpu results can display incorrect time for the last executed method
Summary: Interim live cpu results can display incorrect time for the last executed method
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-20 13:42 UTC by iformanek
Modified: 2007-02-20 18:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iformanek 2005-10-20 13:42:33 UTC
The live results or snapshot taken while the application is running includes a 
time for the last method entered in each thread.

This time is larger than zero, although the method has not exited yet. The time 
is computed by subtracting the time of taking the snapshot and the time the 
method was entered.

Due to inaccuracy in the timers and the fact that there is somem more agent 
code executed before the timestamp is taken, the computed time can actually be 
larger than the actual time the method took (and thus a time listed for the 
method in subsequent results), making a bad impression about the results 
accuracy.
Comment 1 iformanek 2005-10-20 13:48:18 UTC
Fixed in M10, the last executed method is not included in the results.
Comment 2 ehucka 2006-10-09 12:10:12 UTC
Verification of old issues.
Comment 3 Alexander Kouznetsov 2007-02-20 10:27:07 UTC
Closing old issues
Comment 4 Alexander Kouznetsov 2007-02-20 18:10:24 UTC
Reverting to original Target Milestone value changed by mistake. Sorry for
inconvenience.