1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/bench_thread_yield_pingpong
Gerson Fernando Budke 4a9f0efb6d boards: introduce atmega328p-xplained-mini
Add ATmega328P Xplained Mini board.  The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-27 14:10:19 -03:00
..
tests bench_thread_yield_pingpong: Add number of clock ticks per cycle 2020-08-06 11:54:25 +02:00
main.c bench_thread_yield_pingpong: Add number of clock ticks per cycle 2020-08-06 11:54:25 +02:00
Makefile tests: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci 2019-10-17 15:11:59 +02:00
Makefile.ci boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
README.md tests/bench_thread_yield_pingpong: initial commit 2018-06-15 23:04:54 +02:00

About

This test measures the amount of context switches between two threads of the same priority. The result amounts to the number of thread_yield() calls in one thread (half the number of actual context switches).

This test application intentionally duplicates code with some similar benchmark applications in order to be able to compare code sizes.