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

9 Commits

Author SHA1 Message Date
MrKevinWeiss
7a68fb0d5e
*Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
79207fa17b
sys/schedstatistics: move dependency resolution in its own Makefile.dep 2023-06-15 10:24:50 +02:00
4b95459483
schedstatistics: Convert to ztimer 2021-12-07 16:31:15 +01:00
c579dbe953
schedstatistics: Log sleep tick statistics 2021-01-18 11:14:23 +01:00
Leandro Lanzieri
f3b26c8b11
sys/schedstatistics: add module to Kconfig 2020-11-06 15:57:55 +01:00
Marian Buschsieweke
3b6fa61829
sys: 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 20:28:11 +02:00
baca419934 sys/schedstatistics: handle if PIDs are KERNEL_PID_UNDEF
Previously, sched_statistics_cb() was always called with two valid PIDs.
Now it is possible (when the idle thread is not used) that one of the
two might be KERNEL_PID_UNDEF, as the callback might be called when
descheduling the last thread, or scheduling the first.
2020-06-25 16:02:28 +02:00
84f73274c0 sys/schedstatistics: fix typos 2019-11-23 22:39:38 +01:00
Francisco Molina
1caf6610cb sys: add schedstatistics module 2019-09-13 11:37:44 +02:00