1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00
RIOT/tests/bench_thread_yield_pingpong
smlng 3893f04d00 tests: move testrunner import up
Testrunner is now impported as a package found in PYTHONPATH, so
import can be placed at the top of the script as usual.
2018-08-13 14:11:24 +02:00
..
2018-08-13 14:11:24 +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.