tdf: pre-patch 01: scheduler: compute time-average nr_running per run-queue

Signed-off-by: Paul Keith <javelinanddart@gmail.com>
tdf: import initial basic version

Signed-off-by: Paul Keith <javelinanddart@gmail.com>