Changeset b57992a in rtems


Ignore:
Timestamp:
Aug 22, 1997, 7:17:54 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e63e254e
Parents:
b1459dc
Message:

Removed assert condition when not initialized or there are 0 periods.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libmisc/rtmonuse/rtmonuse.c

    rb1459dc rb57992a  
    129129  char                    name[5];
    130130 
     131  if ( !Period_usage_Information ) {
     132    printf( "Period statistics library is not initialized\n" );
     133    return;
     134  }
     135
    131136  printf( "Period information by period\n" );
    132137  printf( "   ID      OWNER   PERIODS  MISSED    CPU TIME    WALL TIME\n" );
  • c/src/libmisc/rtmonuse/rtmonuse.c

    rb1459dc rb57992a  
    129129  char                    name[5];
    130130 
     131  if ( !Period_usage_Information ) {
     132    printf( "Period statistics library is not initialized\n" );
     133    return;
     134  }
     135
    131136  printf( "Period information by period\n" );
    132137  printf( "   ID      OWNER   PERIODS  MISSED    CPU TIME    WALL TIME\n" );
  • cpukit/libmisc/rtmonuse/rtmonuse.c

    rb1459dc rb57992a  
    129129  char                    name[5];
    130130 
     131  if ( !Period_usage_Information ) {
     132    printf( "Period statistics library is not initialized\n" );
     133    return;
     134  }
     135
    131136  printf( "Period information by period\n" );
    132137  printf( "   ID      OWNER   PERIODS  MISSED    CPU TIME    WALL TIME\n" );
Note: See TracChangeset for help on using the changeset viewer.