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
2024-07-29 11:45:58 +02:00
..
tests tests: move bench_ applications to bench/ subdirectory 2023-05-10 09:49:56 +02:00
main.c treewide: remove THREAD_CREATE_STACKTEST from thread creation 2024-07-29 11:45:58 +02:00
Makefile tests: move bench_ applications to bench/ subdirectory 2023-05-10 09:49:56 +02:00
Makefile.ci examples and tests: add atmega8 to relevent Makefile.ci 2023-07-11 21:22:02 +02:00
README.md tests: move bench_ applications to bench/ subdirectory 2023-05-10 09:49:56 +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.