1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/bench_thread_yield_pingpong
Marian Buschsieweke 9e13733703
examples,tests: Updated Makefile.ci
Added ATmega328P based boards where needed
2020-07-27 20:51:52 +02:00
..
tests tests: move testrunner import up 2018-08-13 14:11:24 +02:00
main.c tests/bench_thread_yield_pingpong: initial commit 2018-06-15 23:04:54 +02:00
Makefile tests: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci 2019-10-17 15:11:59 +02:00
Makefile.ci examples,tests: Updated Makefile.ci 2020-07-27 20:51:52 +02: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.