1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/bench/mutex_pingpong
Hugues Larrive 3c465836f2 examples and tests: add atmega8 to relevent Makefile.ci
using dist/tools/insufficient_memory/add_insufficient_memory_board.sh
2023-07-11 21:22:02 +02:00
..
tests
main.c
Makefile
Makefile.ci examples and tests: add atmega8 to relevent Makefile.ci 2023-07-11 21:22:02 +02:00
README.md

About

In this test, one thread will repeatedly lock a mutex, while another thread will unlock it. The result is the number of unlocks done in an interval of one second, which amounts to half the number of incurred context switches.

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