[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:18:39 CEST 2021

@fjmolinas commented on this pull request.

> @@ -102,6 +101,7 @@ void ps(void)
             /* 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};

Or leave it at uin32_t but in the header explicit at what value its capped.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210521/400d4106/attachment.htm>

More information about the notifications mailing list