Opened on 12/04/08 at 14:42:02
Closed on 12/04/08 at 15:16:30
#1348 closed defect (fixed)
Resetting CPU Usage while Period Running
Reported by: | Joel Sherrill | Owned by: | Joel Sherrill |
---|---|---|---|
Priority: | normal | Milestone: | 4.10 |
Component: | score | Version: | 4.10 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
The symptom is that in a period usage report, the minimum cpu time used in a
single is negative.
This occurs after a cpu usage statistics reset when a task in the background has
partially completed a period and has already consumed some CPU time. When
the period completes, the period usage statistics indicate that it has run
longer than the cpu usage information indicates. The math results in
the cpu time used being calculated as negative and the minimum cpu time
goes negative.
Attachments (2)
Change History (3)
Changed on 12/04/08 at 14:59:31 by Joel Sherrill
Attachment: | pr1348.diff added |
---|
Changed on 12/04/08 at 15:16:11 by Joel Sherrill
Attachment: | pr1348-48.diff added |
---|
4.8 version of patch
comment:1 Changed on 12/04/08 at 15:16:30 by Joel Sherrill
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch applied to 4.8, 4.9 and CVS head.
Note: See
TracTickets for help on using
tickets.
Fixes issue and adds test