[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:11:23 CEST 2021


@fjmolinas commented on this pull request.



> @@ -102,6 +101,7 @@ void ps(void)
 #ifdef MODULE_SCHEDSTATISTICS
             /* multiply with 100 for percentage and to avoid floats/doubles */
             uint64_t runtime_ticks = sched_pidlist[i].runtime_ticks * 100;
+            xtimer_ticks32_t xtimer_ticks = {sched_pidlist[i].runtime_ticks};

```suggestion
            xtimer_ticks64_t xtimer_ticks = {sched_pidlist[i].runtime_ticks};
```

-- 
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#pullrequestreview-665394705
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210521/7011c020/attachment-0001.htm>


More information about the notifications mailing list