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

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Dec 19 13:22:23 UTC 2019


On 16/12/2019 02:29, 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

I tested and pushed the patch. It looks good now:

  ENTER:Exit  SPACE:Refresh  S:Scroll  A:All  <>:Order  +/-:Lines

Uptime: 7hr10m18.417777      Period: 3.000002
Tasks:    8  Load Average:    0.012%  Load:    0.446%  Idle:  399.553%
Mem: Wksp:    4K free 140K used  Heap:   15M free   3K used  32K stack

  ID         | NAME                | RPRI | CPRI   | TIME 
| TOTAL   | CURRENT
------------+---------------------+---------------+---------------------+---------+--^^----
  0x09010001 | IDLE                |  2147483647 |  2147483647   | 
7hr10m11.041267     |  25.003 | 100.000
  0x09010002 | IDLE                |  2147483647 |  2147483647   | 
7hr10m9.322662      |  25.001 | 100.000
  0x09010003 | IDLE                |  2147483647 |  2147483647   | 
7hr10m6.697316      |  24.999 |  99.999
  0x09010004 | IDLE                |  2147483647 |  2147483647   | 
7hr10m0.421180      |  24.992 |  99.554
  0x0a010001 | UI1                 |    1 |    1   | 0.016019 
|   0.000 |   0.000
  0x0a010002 | TA02                |    2 |    2   | 1.777371 
|   0.001 |   0.318
  0x0a010004 | CPlt                |    2 |    2   | 1.360985 
|   0.001 |   0.127
  0x0a010003 | TA01                |    2 |    2   | 0.019901 
|   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