RTEMS-5
Annotated Report
libcpuuse
Sat Apr 11 19:24:58 2020

40034004 <rtems_cpu_info_report>:
                                    
  str[ 3 ] = bits_to_char( (uint8_t) ( name >> 0 ) );
                
  str[ 4 ] = '\0';
                                                   
}
                                                                    

                                                                     
int rtems_cpu_info_report( const rtems_printer *printer )
            
{
                                                                    
40034004:	9d e3 bf 98 	save  %sp, -104, %sp
                          <== NOT EXECUTED
  uint32_t cpu_index;
                                                
  int      n;
                                                        

                                                                     
  cpu_max = rtems_configuration_get_maximum_processors();
            

                                                                     
  n = rtems_printf(
                                                  
40034008:	13 10 02 36 	sethi  %hi(0x4008d800), %o1
                   <== NOT EXECUTED
4003400c:	90 10 00 18 	mov  %i0, %o0
                                 <== NOT EXECUTED
40034010:	7f ff f8 dc 	call  40032380 <rtems_printf>
                 <== NOT EXECUTED
40034014:	92 12 61 f8 	or  %o1, 0x1f8, %o1
                           <== NOT EXECUTED
    cpu = _Per_CPU_Get_by_index( cpu_index );
                        
    scheduler = _Scheduler_Get_by_CPU( cpu );
                        

                                                                     
    if ( scheduler != NULL ) {
                                       
      scheduler_id = _Scheduler_Build_id( _Scheduler_Get_index( scheduler ) );

      name_to_str( scheduler->name, scheduler_str );
                 
40034018:	03 10 01 ad 	sethi  %hi(0x4006b400), %g1
                   <== NOT EXECUTED
4003401c:	c4 00 61 90 	ld  [ %g1 + 0x190 ], %g2	! 4006b590 <_Scheduler_Table+0x48>
<== NOT EXECUTED
  str[ 0 ] = bits_to_char( (uint8_t) ( name >> 24 ) );
               
40034020:	87 30 a0 18 	srl  %g2, 0x18, %g3
                           <== NOT EXECUTED
  return isprint( bits ) ? (char) bits : '?';
                        
40034024:	03 10 02 6d 	sethi  %hi(0x4009b400), %g1
                   <== NOT EXECUTED
40034028:	82 10 63 19 	or  %g1, 0x319, %g1	! 4009b719 <_ctype_+0x1>
  <== NOT EXECUTED
4003402c:	c8 48 40 03 	ldsb  [ %g1 + %g3 ], %g4
                      <== NOT EXECUTED
40034030:	80 89 20 97 	btst  0x97, %g4
                               <== NOT EXECUTED
40034034:	12 80 00 03 	bne  40034040 <rtems_cpu_info_report+0x3c>
    <== NOT EXECUTED
40034038:	ba 10 00 08 	mov  %o0, %i5
                                 <== NOT EXECUTED
4003403c:	86 10 20 3f 	mov  0x3f, %g3
                                <== NOT EXECUTED
  str[ 0 ] = bits_to_char( (uint8_t) ( name >> 24 ) );
               
40034040:	c6 2f bf f8 	stb  %g3, [ %fp + -8 ]
                        <== NOT EXECUTED
  str[ 1 ] = bits_to_char( (uint8_t) ( name >> 16 ) );
               
40034044:	87 30 a0 10 	srl  %g2, 0x10, %g3
                           <== NOT EXECUTED
  return isprint( bits ) ? (char) bits : '?';
                        
40034048:	88 08 e0 ff 	and  %g3, 0xff, %g4
                           <== NOT EXECUTED
4003404c:	c8 48 40 04 	ldsb  [ %g1 + %g4 ], %g4
                      <== NOT EXECUTED
40034050:	80 89 20 97 	btst  0x97, %g4
                               <== NOT EXECUTED
40034054:	22 80 00 02 	be,a   4003405c <rtems_cpu_info_report+0x58>
  <== NOT EXECUTED
40034058:	86 10 20 3f 	mov  0x3f, %g3
                                <== NOT EXECUTED
  str[ 1 ] = bits_to_char( (uint8_t) ( name >> 16 ) );
               
4003405c:	c6 2f bf f9 	stb  %g3, [ %fp + -7 ]
                        <== NOT EXECUTED
  str[ 2 ] = bits_to_char( (uint8_t) ( name >> 8 ) );
                
40034060:	87 30 a0 08 	srl  %g2, 8, %g3
                              <== NOT EXECUTED
  return isprint( bits ) ? (char) bits : '?';
                        
40034064:	88 08 e0 ff 	and  %g3, 0xff, %g4
                           <== NOT EXECUTED
40034068:	c8 48 40 04 	ldsb  [ %g1 + %g4 ], %g4
                      <== NOT EXECUTED
4003406c:	80 89 20 97 	btst  0x97, %g4
                               <== NOT EXECUTED
40034070:	22 80 00 02 	be,a   40034078 <rtems_cpu_info_report+0x74>
  <== NOT EXECUTED
40034074:	86 10 20 3f 	mov  0x3f, %g3
                                <== NOT EXECUTED
  str[ 2 ] = bits_to_char( (uint8_t) ( name >> 8 ) );
                
40034078:	c6 2f bf fa 	stb  %g3, [ %fp + -6 ]
                        <== NOT EXECUTED
  return isprint( bits ) ? (char) bits : '?';
                        
4003407c:	86 08 a0 ff 	and  %g2, 0xff, %g3
                           <== NOT EXECUTED
40034080:	c2 48 40 03 	ldsb  [ %g1 + %g3 ], %g1
                      <== NOT EXECUTED
40034084:	80 88 60 97 	btst  0x97, %g1
                               <== NOT EXECUTED
40034088:	22 80 00 02 	be,a   40034090 <rtems_cpu_info_report+0x8c>
  <== NOT EXECUTED
4003408c:	84 10 20 3f 	mov  0x3f, %g2
                                <== NOT EXECUTED
  str[ 3 ] = bits_to_char( (uint8_t) ( name >> 0 ) );
                
40034090:	c4 2f bf fb 	stb  %g2, [ %fp + -5 ]
                        <== NOT EXECUTED
    } else {
                                                         
      scheduler_id = 0;
                                              
      scheduler_str[ 0 ] = '\0';
                                     
    }
                                                                

                                                                     
    n += rtems_printf(
                                               
40034094:	9a 07 bf f8 	add  %fp, -8, %o5
                             <== NOT EXECUTED
  str[ 4 ] = '\0';
                                                   
40034098:	c0 2f bf fc 	clrb  [ %fp + -4 ]
                            <== NOT EXECUTED
    n += rtems_printf(
                                               
4003409c:	96 10 20 01 	mov  1, %o3
                                   <== NOT EXECUTED
400340a0:	94 10 20 00 	clr  %o2
                                      <== NOT EXECUTED
400340a4:	90 10 00 18 	mov  %i0, %o0
                                 <== NOT EXECUTED
400340a8:	19 03 c0 40 	sethi  %hi(0xf010000), %o4
                    <== NOT EXECUTED
400340ac:	13 10 02 36 	sethi  %hi(0x4008d800), %o1
                   <== NOT EXECUTED
400340b0:	98 13 20 01 	or  %o4, 1, %o4
                               <== NOT EXECUTED
400340b4:	7f ff f8 b3 	call  40032380 <rtems_printf>
                 <== NOT EXECUTED
400340b8:	92 12 63 50 	or  %o1, 0x350, %o1
                           <== NOT EXECUTED
      &scheduler_str[ 0 ]
                                            
    );
                                                               
  }
                                                                  

                                                                     
  return n;
                                                          
}
                                                                    
400340bc:	81 c7 e0 08 	ret 
                                          <== NOT EXECUTED
400340c0:	91 ef 40 08 	restore  %i5, %o0, %o0
                        <== NOT EXECUTED

                                                                     

40004d8c <rtems_cpu_usage_report>: void rtems_cpu_usage_report( void ) {
40004d8c:	9d e3 bf 98 	save  %sp, -104, %sp
                          
  rtems_printer printer;
                                             
  rtems_print_printer_printk( &printer );
                            
40004d90:	40 00 21 af 	call  4000d44c <rtems_print_printer_printk>
   
40004d94:	90 07 bf f8 	add  %fp, -8, %o0
                             
  rtems_cpu_usage_report_with_plugin( &printer );
                    
40004d98:	7f ff ff dd 	call  40004d0c <rtems_cpu_usage_report_with_plugin>

40004d9c:	90 07 bf f8 	add  %fp, -8, %o0
                             
}
                                                                    
40004da0:	81 c7 e0 08 	ret 
                                          <== NOT EXECUTED
40004da4:	81 e8 00 00 	restore 
                                      

                                                                     

40004d0c <rtems_cpu_usage_report_with_plugin>: * rtems_cpu_usage_report */ void rtems_cpu_usage_report_with_plugin( const rtems_printer *printer ) {
40004d0c:	9d e3 bf 88 	save  %sp, -120, %sp
                          
   *  When not using nanosecond CPU usage resolution, we have to count

   *  the number of "ticks" we gave credit for to give the user a rough

   *  guideline as to what each number means proportionally.
         
   */
                                                                
  _Timestamp_Set_to_zero( &ctx.total );
                              
  ctx.uptime_at_last_reset = CPU_usage_Uptime_at_last_reset;
         
40004d10:	03 10 00 5e 	sethi  %hi(0x40017800), %g1
                   
40004d14:	c4 18 60 a0 	ldd  [ %g1 + 0xa0 ], %g2	! 400178a0 <CPU_usage_Uptime_at_last_reset>

40004d18:	c4 3f bf f8 	std  %g2, [ %fp + -8 ]
                        

                                                                     
  rtems_printf(
                                                      
40004d1c:	90 10 00 18 	mov  %i0, %o0
                                 
  *_time = 0;
                                                        
40004d20:	c0 27 bf f0 	clr  [ %fp + -16 ]
                            
40004d24:	13 10 00 45 	sethi  %hi(0x40011400), %o1
                   
40004d28:	c0 27 bf f4 	clr  [ %fp + -12 ]
                            
40004d2c:	92 12 62 80 	or  %o1, 0x280, %o1
                           
40004d30:	40 00 21 db 	call  4000d49c <rtems_printf>
                 
40004d34:	f0 27 bf e8 	st  %i0, [ %fp + -24 ]
                        
     "------------+----------------------------------------+---------------+---------\n"

     " ID         | NAME                                   | SECONDS       | PERCENT\n"

     "------------+----------------------------------------+---------------+---------\n"

  );
                                                                 

                                                                     
  rtems_task_iterate( cpu_usage_visitor, &ctx );
                     
40004d38:	92 07 bf e8 	add  %fp, -24, %o1
                            
40004d3c:	11 10 00 13 	sethi  %hi(0x40004c00), %o0
                   
40004d40:	40 00 09 08 	call  40007160 <rtems_task_iterate>
           
40004d44:	90 12 20 28 	or  %o0, 0x28, %o0	! 40004c28 <cpu_usage_visitor>

40004d48:	05 0e e6 b2 	sethi  %hi(0x3b9ac800), %g2
                   
40004d4c:	96 10 a2 00 	or  %g2, 0x200, %o3	! 3b9aca00 <RAM_SIZE+0x3b5aca00>

40004d50:	c4 07 bf f4 	ld  [ %fp + -12 ], %g2
                        
40004d54:	86 50 80 0b 	umul  %g2, %o3, %g3
                           
40004d58:	85 40 00 00 	rd  %y, %g2
                                   

                                                                     
  seconds = _Timestamp_Get_seconds( &ctx.total );
                    
  nanoseconds = _Timestamp_Get_nanoseconds( &ctx.total ) /
           
    TOD_NANOSECONDS_PER_MICROSECOND;
                                 
  rtems_printf(
                                                      
40004d5c:	d4 07 bf f0 	ld  [ %fp + -16 ], %o2
                        
40004d60:	13 10 00 45 	sethi  %hi(0x40011400), %o1
                   
  nanoseconds = _Timestamp_Get_nanoseconds( &ctx.total ) /
           
40004d64:	17 04 18 93 	sethi  %hi(0x10624c00), %o3
                   
  rtems_printf(
                                                      
40004d68:	92 12 63 f8 	or  %o1, 0x3f8, %o1
                           
  nanoseconds = _Timestamp_Get_nanoseconds( &ctx.total ) /
           
40004d6c:	96 12 e1 d3 	or  %o3, 0x1d3, %o3
                           
  rtems_printf(
                                                      
40004d70:	90 10 00 18 	mov  %i0, %o0
                                 
  nanoseconds = _Timestamp_Get_nanoseconds( &ctx.total ) /
           
40004d74:	80 50 80 0b 	umul  %g2, %o3, %g0
                           
40004d78:	97 40 00 00 	rd  %y, %o3
                                   
  rtems_printf(
                                                      
40004d7c:	40 00 21 c8 	call  4000d49c <rtems_printf>
                 
40004d80:	97 32 e0 06 	srl  %o3, 6, %o3
                              
     "------------+----------------------------------------+---------------+---------\n"

     " TIME SINCE LAST CPU USAGE RESET IN SECONDS:                    %7" PRIu32 ".%06" PRIu32 "\n"

     "-------------------------------------------------------------------------------\n",

     seconds, nanoseconds
                                            
  );
                                                                 
}
                                                                    
40004d84:	81 c7 e0 08 	ret 
                                          <== NOT EXECUTED
40004d88:	81 e8 00 00 	restore 
                                      

                                                                     

400086d0 <rtems_cpu_usage_top>: void rtems_cpu_usage_top (void) {
400086d0:	9d e3 bf 98 	save  %sp, -104, %sp
                          <== NOT EXECUTED
  rtems_printer printer;
                                             
  rtems_print_printer_printk (&printer);
                             
400086d4:	40 00 24 37 	call  400117b0 <rtems_print_printer_printk>
   <== NOT EXECUTED
400086d8:	90 07 bf f8 	add  %fp, -8, %o0
                             <== NOT EXECUTED
  rtems_cpu_usage_top_with_plugin (&printer);
                        
400086dc:	7f ff ff 47 	call  400083f8 <rtems_cpu_usage_top_with_plugin>
<== NOT EXECUTED
400086e0:	90 07 bf f8 	add  %fp, -8, %o0
                             <== NOT EXECUTED
}
                                                                    
400086e4:	81 c7 e0 08 	ret 
                                          <== NOT EXECUTED
400086e8:	81 e8 00 00 	restore 
                                      <== NOT EXECUTED

                                                                     

400350ac <rtems_cpu_usage_top_with_plugin>: } void rtems_cpu_usage_top_with_plugin( const rtems_printer *printer ) {
400350ac:	9d e3 bf 18 	save  %sp, -232, %sp
                          <== NOT EXECUTED
  rtems_name             name;
                                       
  rtems_id               id;
                                         
  rtems_cpu_usage_data   data;
                                       
  int                    show_lines = 25;
                            

                                                                     
  memset(&data, 0, sizeof(data));
                                    
400350b0:	94 10 20 80 	mov  0x80, %o2
                                <== NOT EXECUTED
400350b4:	92 10 20 00 	clr  %o1
                                      <== NOT EXECUTED
400350b8:	40 00 6a 30 	call  4004f978 <memset>
                       <== NOT EXECUTED
400350bc:	90 07 bf 80 	add  %fp, -128, %o0
                           <== NOT EXECUTED

                                                                     
  data.thread_run = true;
                                            
400350c0:	82 10 20 01 	mov  1, %g1
                                   <== NOT EXECUTED
400350c4:	c2 2f bf 80 	stb  %g1, [ %fp + -128 ]
                      <== NOT EXECUTED
  data.sort_order = RTEMS_TOP_SORT_CURRENT;
                          
  data.poll_rate_usecs = 3000;
                                       
  data.show = show_lines;
                                            
  data.printer = printer;
                                            

                                                                     
  sc = rtems_task_set_priority (RTEMS_SELF, RTEMS_CURRENT_PRIORITY, &priority);

400350c8:	94 07 bf 78 	add  %fp, -136, %o2
                           <== NOT EXECUTED
  data.single_page = true;
                                           
400350cc:	c2 2f bf 82 	stb  %g1, [ %fp + -126 ]
                      <== NOT EXECUTED
  data.sort_order = RTEMS_TOP_SORT_CURRENT;
                          
400350d0:	82 10 20 04 	mov  4, %g1
                                   <== NOT EXECUTED
400350d4:	c2 27 bf 84 	st  %g1, [ %fp + -124 ]
                       <== NOT EXECUTED
  data.poll_rate_usecs = 3000;
                                       
400350d8:	82 10 2b b8 	mov  0xbb8, %g1
                               <== NOT EXECUTED
400350dc:	c2 27 bf 88 	st  %g1, [ %fp + -120 ]
                       <== NOT EXECUTED
  data.show = show_lines;
                                            
400350e0:	82 10 20 19 	mov  0x19, %g1
                                <== NOT EXECUTED
  data.printer = printer;
                                            
400350e4:	f0 27 bf 90 	st  %i0, [ %fp + -112 ]
                       <== NOT EXECUTED
  sc = rtems_task_set_priority (RTEMS_SELF, RTEMS_CURRENT_PRIORITY, &priority);

400350e8:	92 10 20 00 	clr  %o1
                                      <== NOT EXECUTED
  data.show = show_lines;
                                            
400350ec:	c2 27 bf 8c 	st  %g1, [ %fp + -116 ]
                       <== NOT EXECUTED
  sc = rtems_task_set_priority (RTEMS_SELF, RTEMS_CURRENT_PRIORITY, &priority);

400350f0:	40 00 11 22 	call  40039578 <rtems_task_set_priority>
      <== NOT EXECUTED
400350f4:	90 10 20 00 	clr  %o0
                                      <== NOT EXECUTED

                                                                     
  if (sc != RTEMS_SUCCESSFUL)
                                        
400350f8:	80 a2 20 00 	cmp  %o0, 0
                                   <== NOT EXECUTED
400350fc:	12 80 00 39 	bne  400351e0 <rtems_cpu_usage_top_with_plugin+0x134>
<== NOT EXECUTED
40035100:	d2 07 bf 78 	ld  [ %fp + -136 ], %o1
                       <== NOT EXECUTED
    return;
                                                          
  }
                                                                  

                                                                     
  name = rtems_build_name('C', 'P', 'l', 't');
                       

                                                                     
  sc = rtems_task_create (name, priority, 4 * 1024,
                  
40035104:	9a 07 bf 7c 	add  %fp, -132, %o5
                           <== NOT EXECUTED
40035108:	98 10 20 01 	mov  1, %o4
                                   <== NOT EXECUTED
4003510c:	96 10 26 00 	mov  0x600, %o3
                               <== NOT EXECUTED
40035110:	15 00 00 04 	sethi  %hi(0x1000), %o2
                       <== NOT EXECUTED
40035114:	11 10 d4 1b 	sethi  %hi(0x43506c00), %o0
                   <== NOT EXECUTED
40035118:	7f ff 4f 29 	call  40008dbc <rtems_task_create>
            <== NOT EXECUTED
4003511c:	90 12 20 74 	or  %o0, 0x74, %o0	! 43506c74 <RAM_END+0x3106c74>
<== NOT EXECUTED
                          RTEMS_PREEMPT | RTEMS_TIMESLICE | RTEMS_NO_ASR,

                          RTEMS_FLOATING_POINT | RTEMS_LOCAL,
        
                          &id);
                                      

                                                                     
  if (sc != RTEMS_SUCCESSFUL)
                                        
40035120:	80 a2 20 00 	cmp  %o0, 0
                                   <== NOT EXECUTED
40035124:	12 80 00 26 	bne  400351bc <rtems_cpu_usage_top_with_plugin+0x110>
<== NOT EXECUTED
40035128:	94 07 bf 80 	add  %fp, -128, %o2
                           <== NOT EXECUTED
    rtems_printf (printer,
                                           
                  "error: cannot create helper thread: %s\n", rtems_status_text (sc));

    return;
                                                          
  }
                                                                  

                                                                     
  sc = rtems_task_start (id, rtems_cpuusage_top_thread, (rtems_task_argument) &data);

4003512c:	d0 07 bf 7c 	ld  [ %fp + -132 ], %o0
                       <== NOT EXECUTED
40035130:	13 10 00 d1 	sethi  %hi(0x40034400), %o1
                   <== NOT EXECUTED
  int                    show_lines = 25;
                            
40035134:	ba 10 20 19 	mov  0x19, %i5
                                <== NOT EXECUTED
  sc = rtems_task_start (id, rtems_cpuusage_top_thread, (rtems_task_argument) &data);

40035138:	92 12 63 c4 	or  %o1, 0x3c4, %o1
                           <== NOT EXECUTED
4003513c:	7f ff 4f b7 	call  40009018 <rtems_task_start>
             <== NOT EXECUTED
40035140:	b8 10 20 04 	mov  4, %i4
                                   <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)
                                        
40035144:	80 a2 20 00 	cmp  %o0, 0
                                   <== NOT EXECUTED
40035148:	12 80 00 76 	bne  40035320 <rtems_cpu_usage_top_with_plugin+0x274>
<== NOT EXECUTED
4003514c:	01 00 00 00 	nop 
                                          <== NOT EXECUTED
    return;
                                                          
  }
                                                                  

                                                                     
  while (true)
                                                       
  {
                                                                  
    int c = getchar ();
                                              
40035150:	40 00 61 a1 	call  4004d7d4 <getchar>
                      <== NOT EXECUTED
40035154:	01 00 00 00 	nop 
                                          <== NOT EXECUTED

                                                                     
    if ((c == '\r') || (c == '\n') || (c == 'q') || (c == 'Q'))
      
40035158:	80 a2 20 0d 	cmp  %o0, 0xd
                                 <== NOT EXECUTED
4003515c:	02 80 00 3f 	be  40035258 <rtems_cpu_usage_top_with_plugin+0x1ac>
<== NOT EXECUTED
40035160:	80 a2 20 0a 	cmp  %o0, 0xa
                                 <== NOT EXECUTED
40035164:	02 80 00 3d 	be  40035258 <rtems_cpu_usage_top_with_plugin+0x1ac>
<== NOT EXECUTED
40035168:	82 0a 3f df 	and  %o0, -33, %g1
                            <== NOT EXECUTED
4003516c:	80 a0 60 51 	cmp  %g1, 0x51
                                <== NOT EXECUTED
40035170:	02 80 00 3a 	be  40035258 <rtems_cpu_usage_top_with_plugin+0x1ac>
<== NOT EXECUTED
40035174:	80 a2 20 3c 	cmp  %o0, 0x3c
                                <== NOT EXECUTED
        rtems_task_wake_after (RTEMS_MICROSECONDS_TO_TICKS (100000));


                                                                     
      rtems_printf (printer, "load monitoring stopped.\n");
          
      return;
                                                        
    }
                                                                
    else if (c == '<')
                                               
40035178:	02 80 00 23 	be  40035204 <rtems_cpu_usage_top_with_plugin+0x158>
<== NOT EXECUTED
4003517c:	80 a2 20 3e 	cmp  %o0, 0x3e
                                <== NOT EXECUTED
        data.sort_order = RTEMS_TOP_SORT_MAX;
                        
      else
                                                           
        --data.sort_order;
                                           
      rtems_event_send(id, RTEMS_EVENT_1);
                           
    }
                                                                
    else if (c == '>')
                                               
40035180:	02 80 00 2a 	be  40035228 <rtems_cpu_usage_top_with_plugin+0x17c>
<== NOT EXECUTED
40035184:	80 a0 60 53 	cmp  %g1, 0x53
                                <== NOT EXECUTED
        data.sort_order = 0;
                                         
      else
                                                           
        ++data.sort_order;
                                           
      rtems_event_send(id, RTEMS_EVENT_1);
                           
    }
                                                                
    else if ((c == 's') || (c == 'S'))
                               
40035188:	02 80 00 5b 	be  400352f4 <rtems_cpu_usage_top_with_plugin+0x248>
<== NOT EXECUTED
4003518c:	80 a0 60 41 	cmp  %g1, 0x41
                                <== NOT EXECUTED
    {
                                                                
      data.single_page = !data.single_page;
                          
      rtems_event_send(id, RTEMS_EVENT_1);
                           
    }
                                                                
    else if ((c == 'a') || (c == 'A'))
                               
40035190:	02 80 00 4d 	be  400352c4 <rtems_cpu_usage_top_with_plugin+0x218>
<== NOT EXECUTED
40035194:	80 a2 20 2b 	cmp  %o0, 0x2b
                                <== NOT EXECUTED
        data.show = show_lines;
                                      
      else
                                                           
        data.show = 0;
                                               
      rtems_event_send(id, RTEMS_EVENT_1);
                           
    }
                                                                
    else if (c == '+')
                                               
40035198:	02 80 00 6d 	be  4003534c <rtems_cpu_usage_top_with_plugin+0x2a0>
<== NOT EXECUTED
4003519c:	80 a2 20 2d 	cmp  %o0, 0x2d
                                <== NOT EXECUTED
    {
                                                                
      ++show_lines;
                                                  
      if (data.show != 0)
                                            
        data.show = show_lines;
                                      
    }
                                                                
    else if (c == '-')
                                               
400351a0:	02 80 00 71 	be  40035364 <rtems_cpu_usage_top_with_plugin+0x2b8>
<== NOT EXECUTED
400351a4:	80 a2 20 20 	cmp  %o0, 0x20
                                <== NOT EXECUTED
      if (show_lines > 5)
                                            
        --show_lines;
                                                
      if (data.show != 0)
                                            
        data.show = show_lines;
                                      
    }
                                                                
    else if (c == ' ')
                                               
400351a8:	12 bf ff ea 	bne  40035150 <rtems_cpu_usage_top_with_plugin+0xa4>
<== NOT EXECUTED
400351ac:	d0 07 bf 7c 	ld  [ %fp + -132 ], %o0
                       <== NOT EXECUTED
    {
                                                                
      rtems_event_send(id, RTEMS_EVENT_1);
                           
400351b0:	7f ff 4e 7b 	call  40008b9c <rtems_event_send>
             <== NOT EXECUTED
400351b4:	92 10 20 02 	mov  2, %o1
                                   <== NOT EXECUTED
400351b8:	30 bf ff e6 	b,a   40035150 <rtems_cpu_usage_top_with_plugin+0xa4>
<== NOT EXECUTED
    rtems_printf (printer,
                                           
400351bc:	40 00 10 81 	call  400393c0 <rtems_status_text>
            <== NOT EXECUTED
400351c0:	01 00 00 00 	nop 
                                          <== NOT EXECUTED
400351c4:	13 10 02 38 	sethi  %hi(0x4008e000), %o1
                   <== NOT EXECUTED
400351c8:	94 10 00 08 	mov  %o0, %o2
                                 <== NOT EXECUTED
400351cc:	92 12 60 c0 	or  %o1, 0xc0, %o1
                            <== NOT EXECUTED
400351d0:	7f ff f4 6c 	call  40032380 <rtems_printf>
                 <== NOT EXECUTED
400351d4:	90 10 00 18 	mov  %i0, %o0
                                 <== NOT EXECUTED
    return;
                                                          
400351d8:	81 c7 e0 08 	ret 
                                          <== NOT EXECUTED
400351dc:	81 e8 00 00 	restore 
                                      <== NOT EXECUTED
    rtems_printf (printer,
                                           
400351e0:	40 00 10 78 	call  400393c0 <rtems_status_text>
            <== NOT EXECUTED
400351e4:	01 00 00 00 	nop 
                                          <== NOT EXECUTED
400351e8:	13 10 02 38 	sethi  %hi(0x4008e000), %o1
                   <== NOT EXECUTED
400351ec:	94 10 00 08 	mov  %o0, %o2
                                 <== NOT EXECUTED
400351f0:	92 12 60 90 	or  %o1, 0x90, %o1
                            <== NOT EXECUTED
400351f4:	7f ff f4 63 	call  40032380 <rtems_printf>
                 <== NOT EXECUTED
400351f8:	90 10 00 18 	mov  %i0, %o0
                                 <== NOT EXECUTED
    return;
                                                          
400351fc:	81 c7 e0 08 	ret 
                                          <== NOT EXECUTED
40035200:	81 e8 00 00 	restore 
                                      <== NOT EXECUTED
      if (data.sort_order == 0)
                                      
40035204:	c2 07 bf 84 	ld  [ %fp + -124 ], %g1
                       <== NOT EXECUTED
40035208:	80 a0 60 00 	cmp  %g1, 0
                                   <== NOT EXECUTED
4003520c:	12 80 00 0e 	bne  40035244 <rtems_cpu_usage_top_with_plugin+0x198>
<== NOT EXECUTED
40035210:	01 00 00 00 	nop 
                                          <== NOT EXECUTED
        data.sort_order = RTEMS_TOP_SORT_MAX;
                        
40035214:	f8 27 bf 84 	st  %i4, [ %fp + -124 ]
                       <== NOT EXECUTED
      rtems_event_send(id, RTEMS_EVENT_1);
                           
40035218:	92 10 20 02 	mov  2, %o1
                                   <== NOT EXECUTED
4003521c:	7f ff 4e 60 	call  40008b9c <rtems_event_send>
             <== NOT EXECUTED
40035220:	d0 07 bf 7c 	ld  [ %fp + -132 ], %o0
                       <== NOT EXECUTED
40035224:	30 bf ff cb 	b,a   40035150 <rtems_cpu_usage_top_with_plugin+0xa4>
<== NOT EXECUTED
      if (data.sort_order >= RTEMS_TOP_SORT_MAX)
                     
40035228:	c2 07 bf 84 	ld  [ %fp + -124 ], %g1
                       <== NOT EXECUTED
4003522c:	80 a0 60 03 	cmp  %g1, 3
                                   <== NOT EXECUTED
40035230:	08 80 00 2c 	bleu  400352e0 <rtems_cpu_usage_top_with_plugin+0x234>
<== NOT EXECUTED
40035234:	01 00 00 00 	nop 
                                          <== NOT EXECUTED
        data.sort_order = 0;
                                         
40035238:	c0 27 bf 84 	clr  [ %fp + -124 ]
                           <== NOT EXECUTED
4003523c:	10 bf ff f8 	b  4003521c <rtems_cpu_usage_top_with_plugin+0x170>
<== NOT EXECUTED
40035240:	92 10 20 02 	mov  2, %o1
                                   <== NOT EXECUTED
        --data.sort_order;
                                           
40035244:	c2 07 bf 84 	ld  [ %fp + -124 ], %g1
                       <== NOT EXECUTED
40035248:	82 00 7f ff 	add  %g1, -1, %g1
                             <== NOT EXECUTED
4003524c:	c2 27 bf 84 	st  %g1, [ %fp + -124 ]
                       <== NOT EXECUTED
      rtems_event_send(id, RTEMS_EVENT_1);
                           
40035250:	10 bf ff f3 	b  4003521c <rtems_cpu_usage_top_with_plugin+0x170>
<== NOT EXECUTED
40035254:	92 10 20 02 	mov  2, %o1
                                   <== NOT EXECUTED
      rtems_event_send(id, RTEMS_EVENT_1);
                           
40035258:	d0 07 bf 7c 	ld  [ %fp + -132 ], %o0
                       <== NOT EXECUTED
      data.thread_run = false;
                                       
4003525c:	c0 2f bf 80 	clrb  [ %fp + -128 ]
                          <== NOT EXECUTED
      rtems_event_send(id, RTEMS_EVENT_1);
                           
40035260:	7f ff 4e 4f 	call  40008b9c <rtems_event_send>
             <== NOT EXECUTED
40035264:	92 10 20 02 	mov  2, %o1
                                   <== NOT EXECUTED
      while (loops && data.thread_active)
                            
40035268:	c2 0f bf 81 	ldub  [ %fp + -127 ], %g1
                     <== NOT EXECUTED
4003526c:	80 a0 60 00 	cmp  %g1, 0
                                   <== NOT EXECUTED
40035270:	02 80 00 0f 	be  400352ac <rtems_cpu_usage_top_with_plugin+0x200>
<== NOT EXECUTED
40035274:	05 10 01 ad 	sethi  %hi(0x4006b400), %g2
                   <== NOT EXECUTED
40035278:	03 00 00 61 	sethi  %hi(0x18400), %g1
                      <== NOT EXECUTED
4003527c:	82 10 62 a0 	or  %g1, 0x2a0, %g1	! 186a0 <_ISR_Stack_size+0x176a0>
<== NOT EXECUTED
40035280:	81 80 20 00 	wr  %g0, %y
                                   <== NOT EXECUTED
40035284:	fa 00 a2 cc 	ld  [ %g2 + 0x2cc ], %i5
                      <== NOT EXECUTED
40035288:	01 00 00 00 	nop 
                                          <== NOT EXECUTED
4003528c:	01 00 00 00 	nop 
                                          <== NOT EXECUTED
40035290:	ba 70 40 1d 	udiv  %g1, %i5, %i5
                           <== NOT EXECUTED
        rtems_task_wake_after (RTEMS_MICROSECONDS_TO_TICKS (100000));

40035294:	7f ff 4f 76 	call  4000906c <rtems_task_wake_after>
        <== NOT EXECUTED
40035298:	90 10 00 1d 	mov  %i5, %o0
                                 <== NOT EXECUTED
      while (loops && data.thread_active)
                            
4003529c:	c2 0f bf 81 	ldub  [ %fp + -127 ], %g1
                     <== NOT EXECUTED
400352a0:	80 a0 60 00 	cmp  %g1, 0
                                   <== NOT EXECUTED
400352a4:	12 bf ff fc 	bne  40035294 <rtems_cpu_usage_top_with_plugin+0x1e8>
<== NOT EXECUTED
400352a8:	01 00 00 00 	nop 
                                          <== NOT EXECUTED
      rtems_printf (printer, "load monitoring stopped.\n");
          
400352ac:	90 10 00 18 	mov  %i0, %o0
                                 <== NOT EXECUTED
400352b0:	13 10 02 38 	sethi  %hi(0x4008e000), %o1
                   <== NOT EXECUTED
400352b4:	7f ff f4 33 	call  40032380 <rtems_printf>
                 <== NOT EXECUTED
400352b8:	92 12 61 10 	or  %o1, 0x110, %o1	! 4008e110 <access_modes_assoc+0x798>
<== NOT EXECUTED
    }
                                                                
  }
                                                                  
}
                                                                    
400352bc:	81 c7 e0 08 	ret 
                                          <== NOT EXECUTED
400352c0:	81 e8 00 00 	restore 
                                      <== NOT EXECUTED
      if (data.show == 0)
                                            
400352c4:	c2 07 bf 8c 	ld  [ %fp + -116 ], %g1
                       <== NOT EXECUTED
400352c8:	80 a0 60 00 	cmp  %g1, 0
                                   <== NOT EXECUTED
400352cc:	12 80 00 12 	bne  40035314 <rtems_cpu_usage_top_with_plugin+0x268>
<== NOT EXECUTED
400352d0:	01 00 00 00 	nop 
                                          <== NOT EXECUTED
        data.show = show_lines;
                                      
400352d4:	fa 27 bf 8c 	st  %i5, [ %fp + -116 ]
                       <== NOT EXECUTED
400352d8:	10 bf ff d1 	b  4003521c <rtems_cpu_usage_top_with_plugin+0x170>
<== NOT EXECUTED
400352dc:	92 10 20 02 	mov  2, %o1
                                   <== NOT EXECUTED
        ++data.sort_order;
                                           
400352e0:	c2 07 bf 84 	ld  [ %fp + -124 ], %g1
                       <== NOT EXECUTED
400352e4:	82 00 60 01 	inc  %g1
                                      <== NOT EXECUTED
400352e8:	c2 27 bf 84 	st  %g1, [ %fp + -124 ]
                       <== NOT EXECUTED
      rtems_event_send(id, RTEMS_EVENT_1);
                           
400352ec:	10 bf ff cc 	b  4003521c <rtems_cpu_usage_top_with_plugin+0x170>
<== NOT EXECUTED
400352f0:	92 10 20 02 	mov  2, %o1
                                   <== NOT EXECUTED
      data.single_page = !data.single_page;
                          
400352f4:	c2 0f bf 82 	ldub  [ %fp + -126 ], %g1
                     <== NOT EXECUTED
400352f8:	82 18 60 01 	xor  %g1, 1, %g1
                              <== NOT EXECUTED
      rtems_event_send(id, RTEMS_EVENT_1);
                           
400352fc:	d0 07 bf 7c 	ld  [ %fp + -132 ], %o0
                       <== NOT EXECUTED
40035300:	92 10 20 02 	mov  2, %o1
                                   <== NOT EXECUTED
      data.single_page = !data.single_page;
                          
40035304:	c2 2f bf 82 	stb  %g1, [ %fp + -126 ]
                      <== NOT EXECUTED
      rtems_event_send(id, RTEMS_EVENT_1);
                           
40035308:	7f ff 4e 25 	call  40008b9c <rtems_event_send>
             <== NOT EXECUTED
4003530c:	01 00 00 00 	nop 
                                          <== NOT EXECUTED
40035310:	30 bf ff 90 	b,a   40035150 <rtems_cpu_usage_top_with_plugin+0xa4>
<== NOT EXECUTED
        data.show = 0;
                                               
40035314:	c0 27 bf 8c 	clr  [ %fp + -116 ]
                           <== NOT EXECUTED
      rtems_event_send(id, RTEMS_EVENT_1);
                           
40035318:	10 bf ff c1 	b  4003521c <rtems_cpu_usage_top_with_plugin+0x170>
<== NOT EXECUTED
4003531c:	92 10 20 02 	mov  2, %o1
                                   <== NOT EXECUTED
    rtems_printf (printer,
                                           
40035320:	40 00 10 28 	call  400393c0 <rtems_status_text>
            <== NOT EXECUTED
40035324:	01 00 00 00 	nop 
                                          <== NOT EXECUTED
40035328:	13 10 02 38 	sethi  %hi(0x4008e000), %o1
                   <== NOT EXECUTED
4003532c:	94 10 00 08 	mov  %o0, %o2
                                 <== NOT EXECUTED
40035330:	92 12 60 e8 	or  %o1, 0xe8, %o1
                            <== NOT EXECUTED
40035334:	7f ff f4 13 	call  40032380 <rtems_printf>
                 <== NOT EXECUTED
40035338:	90 10 00 18 	mov  %i0, %o0
                                 <== NOT EXECUTED
    rtems_task_delete (id);
                                          
4003533c:	40 00 10 4c 	call  4003946c <rtems_task_delete>
            <== NOT EXECUTED
40035340:	d0 07 bf 7c 	ld  [ %fp + -132 ], %o0
                       <== NOT EXECUTED
    return;
                                                          
40035344:	81 c7 e0 08 	ret 
                                          <== NOT EXECUTED
40035348:	81 e8 00 00 	restore 
                                      <== NOT EXECUTED
      if (data.show != 0)
                                            
4003534c:	c2 07 bf 8c 	ld  [ %fp + -116 ], %g1
                       <== NOT EXECUTED
40035350:	80 a0 60 00 	cmp  %g1, 0
                                   <== NOT EXECUTED
40035354:	02 bf ff 7f 	be  40035150 <rtems_cpu_usage_top_with_plugin+0xa4>
<== NOT EXECUTED
40035358:	ba 07 60 01 	inc  %i5
                                      <== NOT EXECUTED
        data.show = show_lines;
                                      
4003535c:	fa 27 bf 8c 	st  %i5, [ %fp + -116 ]
                       <== NOT EXECUTED
40035360:	30 bf ff 7c 	b,a   40035150 <rtems_cpu_usage_top_with_plugin+0xa4>
<== NOT EXECUTED
      if (show_lines > 5)
                                            
40035364:	80 a7 60 05 	cmp  %i5, 5
                                   <== NOT EXECUTED
40035368:	34 80 00 02 	bg,a   40035370 <rtems_cpu_usage_top_with_plugin+0x2c4>
<== NOT EXECUTED
4003536c:	ba 07 7f ff 	add  %i5, -1, %i5
                             <== NOT EXECUTED
      if (data.show != 0)
                                            
40035370:	c2 07 bf 8c 	ld  [ %fp + -116 ], %g1
                       <== NOT EXECUTED
40035374:	80 a0 60 00 	cmp  %g1, 0
                                   <== NOT EXECUTED
40035378:	32 bf ff 76 	bne,a   40035150 <rtems_cpu_usage_top_with_plugin+0xa4>
<== NOT EXECUTED
4003537c:	fa 27 bf 8c 	st  %i5, [ %fp + -116 ]
                       <== NOT EXECUTED
40035380:	30 bf ff 74 	b,a   40035150 <rtems_cpu_usage_top_with_plugin+0xa4>
<== NOT EXECUTED