[PATCH 1/2] libmisc/top: Fix the idle time and priorities on SMP

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Dec 13 07:11:07 UTC 2019


On 13/12/2019 00:23, chrisj at rtems.org wrote:
> From: Chris Johns<chrisj at rtems.org>
> 
> - This patch is based on the patch attached to #3552 submitted
>    by jameszxj.
> 
> Closes #3552

Please have a look at:

https://lists.rtems.org/pipermail/devel/2019-December/056441.html

The summary results (Load Average...) of the "top" test program run by 
SIS don't look right:

Uptime: 7hr10m18.997779                     Period: 3.000000 

Tasks:    5  Load Average:  572.366%  Load: 5290075.551%  Idle: 858939.139%
Mem: Wksp:    4K free 128K used  Heap:   15M free   3K used  20K stack

  ID         | NAME                | RPRI | CPRI   | TIME 
| TOTAL   | CURRENT
------------+---------------------+---------------+---------------------+---------+--^^----
  0x09010001 | IDLE                |  255 |  255   | 7hr9m34.262610 
               |  99.994 |  99.906
  0x0a010001 | UI1                 |    1 |    1   | 0.001919 
         |   0.000 |   0.000
  0x0a010004 | CPlt                |    2 |    2   | 1.235579 
         |   0.004 |   0.091
  0x0a010002 | TA02                |    2 |    2   | 0.203079 
         |   0.000 |   0.001
  0x0a010003 | TA01                |    2 |    2   | 0.017219 
         |   0.000 |   0.000


-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the devel mailing list