1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/bench_mutex_pingpong
Francisco Molina 0996fb87fd tests: insufficient mem. atmega328p based boards
- When using test_interactive_sync_utils, stdin and many more
  prints/puts are included. These all go into .bss/.data which
  quickly fills up RAM.
2019-11-27 15:07:43 +01:00
..
tests tests: move testrunner import up 2018-08-13 14:11:24 +02:00
main.c tests/bench_mutex_pingpong: initial commit 2018-06-15 23:04:54 +02:00
Makefile tests: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci 2019-10-17 15:11:59 +02:00
Makefile.ci tests: insufficient mem. atmega328p based boards 2019-11-27 15:07:43 +01:00
README.md tests/bench_mutex_pingpong: initial commit 2018-06-15 23:04:54 +02:00

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.