1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

4 Commits

Author SHA1 Message Date
ea3c59f41a
tests: use coreclk() instead of CLOCK_CORECLOCK 2021-12-15 13:14:19 +01:00
Marian Buschsieweke
eb1279005c
tests: Cleanup access to internal variables
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:

1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
   functions
2020-08-24 09:08:01 +02:00
566d838113
bench_thread_flags_pingpong: Add number of clock ticks per cycle 2020-08-06 11:54:25 +02:00
5bf1295836 tests/bench_thread_flags_pingpong: initial commit 2018-06-15 23:04:54 +02:00