[riot-notifications] [RIOT-OS/RIOT] tests/periph_spi: add benchmark for acquire / release (#14108)

Koen Zandberg notifications at github.com
Wed May 20 19:29:35 CEST 2020


@bergzand commented on this pull request.



>      printf("14 - transfer %i times %i byte to register:", BENCH_REDOS, BENCH_LARGE);
     printf("%"PRIu32"\t%"PRIu32"\n", (stop - start), sched_diff_us);
     sum += (stop - start);
     sched_sum += sched_diff_us;
 
+    /* 15 - acquire & release the bus 1000 times */

technically this releases and acquires the bus 1000 times :smile: 
```suggestion
    /* 15 - release & acquire the bus 1000 times */
```

-- 
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/14108#pullrequestreview-415560521
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200520/00698ef4/attachment.htm>


More information about the notifications mailing list