[riot-notifications] [RIOT-OS/RIOT] tests/periph_spi: Add thread runtime stats (#14087)

benpicco notifications at github.com
Tue May 19 12:18:51 CEST 2020


@benpicco commented on this pull request.



>      printf(" 1 - write %i times %i byte:", BENCH_REDOS, 1);
-    printf("\t\t\t%i\n", (int)(stop - start));
+    printf("\t\t\t%"PRIu32"\t%"PRIu32"\n", (stop - start),
+           xtimer_diff(sched_stop, sched_start).ticks32);

Shouldn't that be `xtimer_usec_from_ticks(xtimer_diff(sched_stop, sched_start));`?

-- 
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/14087#pullrequestreview-414304435
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200519/f3571f3b/attachment-0001.htm>


More information about the notifications mailing list