1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/bench_thread_flags_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
..
tests tests: move testrunner import up 2018-08-13 14:11:24 +02:00
main.c tests/bench_thread_flags_pingpong: initial commit 2018-06-15 23:04:54 +02:00
Makefile tests/bench_thread_flags_pingpong: initial commit 2018-06-15 23:04:54 +02:00
README.md tests/bench_thread_flags_pingpong: initial commit 2018-06-15 23:04:54 +02:00

About

This test measures the number of times one thread can set (and wakeup) another thread using thread_flags(). The result amounts to the number of times the thread flag was set, which is half the number of context switches incurred in that time.

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