1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/bench_sched_nop
Gaëtan Harter 8e5422ff78
applications: remove 'TEST_ON_CI_WHITELIST += all'
This is now the default so not required anymore.
2019-08-21 12:51:17 +02:00
..
tests tests: move testrunner import up 2018-08-13 14:11:24 +02:00
main.c tests/bench_sched_nop: initial commit 2018-06-15 23:04:54 +02:00
Makefile applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
README.md tests/bench_sched_nop: initial commit 2018-06-15 23:04:54 +02:00

About

This test calls "thread_yield()" in a loop. As there is no other thread with a higher or same priority, this measures the raw context save / restore performance plus the (short) time the scheduler need to realize there's no other active thread. The result amounts to the number of thread_yield() calls per second.

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