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 254874 - Negative CPU time
Summary: Negative CPU time
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-31 13:33 UTC by Jiri Sedlacek
Modified: 2015-09-04 01:24 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 Jiri Sedlacek 2015-08-31 13:33:42 UTC
The NetBeans 8.1 Profiler screencast (https://www.youtube.com/watch?v=DI4EFkzqCCg) shows CPU time -0.1% at ~2:08. Should not be less than 0%.
Comment 1 Jiri Sedlacek 2015-09-01 13:41:49 UTC
Monitoring CPU time may not be supported on some systems/JDKs. Now displaying 'N/A' instead of '-0.1%'.

Fixed by http://hg.netbeans.org/profiler-main/rev/2e255aff0f0b.
Comment 2 Jiri Sedlacek 2015-09-01 14:11:09 UTC
In this case negative time is reported because of Bug #254908.
Comment 3 Quality Engineering 2015-09-04 01:24:56 UTC
Integrated into 'main-silver', will be available in build *201509040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2e255aff0f0b
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #254874 - display N/A instead of negative value when CPU time cannot be read