Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#1346 closed defect (fixed)

Rate monotonic statistics conditional logic backwards

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 rate monotonic statistics sense is backwards.

diff -u -r1.31 ratemon.h
--- cpukit/rtems/include/rtems/rtems/ratemon.h 14 Aug 2008 15:25:13 -0000 1.31
+++ cpukit/rtems/include/rtems/rtems/ratemon.h 3 Dec 2008 18:46:55 -0000
@@ -55,7 +55,7 @@

  • The user can define this at configure time and go back to ticks
  • resolution. */

-#if defined(RTEMS_USE_TICKS_RATE_MONOTONIC_STATISTICS)
+#if !defined(RTEMS_USE_TICKS_RATE_MONOTONIC_STATISTICS)

/

  • Enable the nanosecond accurate statistics *

Attachments (1)

pr1346.diff (897 bytes) - added by Joel Sherrill on 12/03/08 at 18:01:37.
Changes sense and fixes typo

Download all attachments as: .zip

Change History (2)

Changed on 12/03/08 at 18:01:37 by Joel Sherrill

Attachment: pr1346.diff added

Changes sense and fixes typo

comment:1 Changed on 12/03/08 at 18:19:35 by Joel Sherrill

Resolution: fixed
Status: newclosed

Patch applied to 4.9 and CVS head. Did not impact 4.8.

Note: See TracTickets for help on using tickets.