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

This commit is contained in:
Joel Sherrill
1997-08-22 19:17:54 +00:00
parent b1459dc199
commit b57992a382
3 changed files with 15 additions and 0 deletions

View File

@@ -128,6 +128,11 @@ void Period_usage_Dump( void )
unsigned32 u32_name;
char name[5];
if ( !Period_usage_Information ) {
printf( "Period statistics library is not initialized\n" );
return;
}
printf( "Period information by period\n" );
printf( " ID OWNER PERIODS MISSED CPU TIME WALL TIME\n" );

View File

@@ -128,6 +128,11 @@ void Period_usage_Dump( void )
unsigned32 u32_name;
char name[5];
if ( !Period_usage_Information ) {
printf( "Period statistics library is not initialized\n" );
return;
}
printf( "Period information by period\n" );
printf( " ID OWNER PERIODS MISSED CPU TIME WALL TIME\n" );

View File

@@ -128,6 +128,11 @@ void Period_usage_Dump( void )
unsigned32 u32_name;
char name[5];
if ( !Period_usage_Information ) {
printf( "Period statistics library is not initialized\n" );
return;
}
printf( "Period information by period\n" );
printf( " ID OWNER PERIODS MISSED CPU TIME WALL TIME\n" );