Changeset bbb96ceb in rtems


Ignore:
Timestamp:
Oct 4, 2009, 10:15:00 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
24dc66c
Parents:
ff3c06a
Message:

2009-10-04 Joel Sherrill <joel.sherrill@…>

  • rtems/src/ratemonreportstatistics.c: owner field is always set so safe to use. Reformat.
  • rtems/src/regionresizesegment.c: Always evaluate the blocked queue if the resize succeeded.
  • rtems/src/tasksetnote.c: Spacing.
Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rff3c06a rbbb96ceb  
     12009-10-04      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * rtems/src/ratemonreportstatistics.c: owner field is always set so
     4        safe to use.  Reformat.
     5        * rtems/src/regionresizesegment.c: Always evaluate the blocked queue
     6        if the resize succeeded.
     7        * rtems/src/tasksetnote.c: Spacing.
     8
    192009-10-04      Joel Sherrill <joel.sherrill@oarcorp.com>
    210
  • cpukit/rtems/src/ratemonreportstatistics.c

    rff3c06a rbbb96ceb  
    5555
    5656  (*print)( context, "Period information by period\n" );
    57 #if defined(RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS)
    58   (*print)( context, "--- CPU times are in seconds ---\n" );
    59 #endif
    60 #if defined(RTEMS_ENABLE_NANOSECOND_RATE_MONOTONIC_STATISTICS)
    61   (*print)( context, "--- Wall times are in seconds ---\n" );
    62 #endif
     57  #if defined(RTEMS_ENABLE_NANOSECOND_CPU_USAGE_STATISTICS)
     58    (*print)( context, "--- CPU times are in seconds ---\n" );
     59  #endif
     60  #if defined(RTEMS_ENABLE_NANOSECOND_RATE_MONOTONIC_STATISTICS)
     61    (*print)( context, "--- Wall times are in seconds ---\n" );
     62  #endif
    6363/*
    6464Layout by columns -- in memory of Hollerith :)
     
    119119    #endif
    120120
    121     name[ 0 ] = '\0';
    122 
    123     if ( the_status.owner ) {
    124       rtems_object_get_name( the_status.owner, sizeof(name), name );
    125     }
     121    rtems_object_get_name( the_status.owner, sizeof(name), name );
    126122
    127123    /*
    128124     *  Print part of report line that is not dependent on granularity
    129125     */
    130 
    131126    (*print)( context,
    132127      "0x%08" PRIx32 " %4s %5" PRId32 " %6" PRId32 " ",
     
    138133     *  If the count is zero, don't print statistics
    139134     */
    140 
    141135    if (the_stats.count == 0) {
    142136      (*print)( context, "\n" );
     
    181175
    182176    /*
    183      *  print Wall time part of statistics
     177     *  print wall time part of statistics
    184178     */
    185179    {
  • cpukit/rtems/src/regionresizesegment.c

    rff3c06a rbbb96ceb  
    8181        _Region_Debug_Walk( the_region, 8 );
    8282
    83         if ( status == HEAP_RESIZE_SUCCESSFUL && avail_size > 0 )
     83        if ( status == HEAP_RESIZE_SUCCESSFUL )
    8484          _Region_Process_queue( the_region );    /* unlocks allocator */
    8585        else
  • cpukit/rtems/src/tasksetnote.c

    rff3c06a rbbb96ceb  
    22 *  RTEMS Task Manager
    33 *
    4  *
    5  *  COPYRIGHT (c) 1989-2007.
     4 *  COPYRIGHT (c) 1989-2009.
    65 *  On-Line Applications Research Corporation (OAR).
    76 *
Note: See TracChangeset for help on using the changeset viewer.