[riot-notifications] [RIOT-OS/RIOT] sys/ps: enable runtime_usec output for the ps command (#16470)

Francisco notifications at github.com
Fri May 21 14:10:16 CEST 2021


Hmm as it is currently this will overflow after 2min and then it starts to look weird (unaligned): here I switched to %4:

```
2021-05-21 14:08:44,395 # 	pid | name                 | state    Q | pri | stack  ( used) ( free) | base addr  | current     | runtime  | switches  | runtime_usec 
2021-05-21 14:08:44,404 # 	  - | isr_stack            | -        - |   - |    512 (  224) (  288) | 0x20000000 | 0x200001c8
2021-05-21 14:08:44,416 # 	  1 | main                 | running  Q |   7 |   1536 (  780) (  756) | 0x200003a0 | 0x20000764  | 16.400% |        30  | 2227868
2021-05-21 14:08:44,427 # 	  2 | pktdump              | bl rx    _ |   6 |   1536 (  240) ( 1296) | 0x20002adc | 0x20002fec  |  0.000% |         1  |    9
2021-05-21 14:08:44,439 # 	  3 | 6lo                  | bl rx    _ |   3 |   1024 (  420) (  604) | 0x200038b8 | 0x20003b2c  |  0.001% |         7  |  215
2021-05-21 14:08:44,450 # 	  4 | ipv6                 | bl rx    _ |   4 |   1024 (  368) (  656) | 0x20000a98 | 0x20000d94  |  0.003% |         7  |  416
2021-05-21 14:08:44,462 # 	  5 | udp                  | bl rx    _ |   5 |   1024 (  252) (  772) | 0x20003cb8 | 0x20003fbc  |  0.000% |         1  |   11
2021-05-21 14:08:44,473 # 	  6 | nimble_host          | bl anyfl _ |   1 |   1024 (  368) (  656) | 0x2000867c | 0x200089ac  |  0.009% |        12  | 1263
2021-05-21 14:08:44,485 # 	  7 | nimble_ctrl          | bl anyfl _ |   0 |   1024 (  184) (  840) | 0x2000827c | 0x200085c4  |  0.002% |        12  |  274
2021-05-21 14:08:44,496 # 	  8 | nimble_netif         | bl rx    _ |   2 |   1024 (  544) (  480) | 0x20005a00 | 0x20005cc4  |  0.059% |         4  | 8046
2021-05-21 14:08:44,503 # 	    | SUM                  |            |     |   9728 ( 3380) ( 6348)
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16470#issuecomment-845905916
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210521/8f82075f/attachment.htm>


More information about the notifications mailing list