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
Measure Runtime of Selected Core API functions
This benchmark application measures the runtime of selected core API functions. Its purpose is to provide a baseline to assess the impacts when doing changes to core code.
This application is not complete, simply add additional runs if needed.