Analysis/latency: Add task CPU residency utilities
Created by: valschneider
This can be useful to look at the behaviour of a task (or from another point of view, the behaviour of the scheduler regarding this task) and to have an overview of how much time a task has spent on each CPU.
I'm not entirely too sure about with task states should be considered in the runtime sum - from my understanding, anything but sleeping should be accounted, but I could be wrong on that.