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

benpicco notifications at github.com
Tue May 19 12:24:07 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);

If you want to add `xtimer_diff_usec()` that would be great :wink: 

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/20200519/ca289722/attachment.htm>

More information about the notifications mailing list