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.
In CPU details one function is listed many times if a hot spot is reported in different lines. While this approach is correct for memory allocation and thread locks, for CPU consumption it is misleading. It makes list just longer, harder to read and may produce a wrong impression about what function is the beast. The line distribution may be useful, but as a secondary information and better to be placed as annotation in editor window (in the next release). For now the CPU details are way too have even for Pi sample...
It is also confusing that functions are sorted by inclusive time. Right criteria is exclusive time, otherwise main is always on top. So please swap Inclusive and Exclusive and sort it in descending order. Any reaction?
Leonid, as I understand we should consider this issue as a showstopper a it confuses users, right? I will fix and ask QE to verify, if everything will be OK we will start a showstoppper process to put fix into RC3
Leonid, also I would like to notice that if I will use "functions" not "lines" command to get information about CPU I will see function names without file names and line numbers, is it acceptable?
fixed in cnd-main, see http://hg.netbeans.org/cnd-main/rev/b51e3ddac582
This fix looks fine to me.
Since a user misled by current representation of data in our main feature for this release I promote the bug to P1 and consider as showstopper. Please proceed with the fix.
Alexander, please verify the fix in the trunk Alexey, please view the fix
I have reviewed the fix and have no objections.
verified in dev build please integrate into release67 branch
fixed in release67 branch http://hg.netbeans.org/release67/rev/83d06475e9f9
verified in rc3 build 2009-06-10_00-01-07
Integrated into 'main-golden', will be available in build *200906110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/b51e3ddac582 User: Maria Tishkova <mromashova@netbeans.org> Log: fixed IZ#166510 CPU Usage Details are confusing if Sun Studio is used 1) "functiions" command is used instead of "lines" as a result we have table with function names only, no information about source file name and line number is presented 2) the first column after the function name is Excl. User CPU Time (changed for both SS and DTrace data providers) and this column is used for desc ordering