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
2020-10-15 18:52:51 +02: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
Makefile.ci tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
README.md

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.