Uses a per-cpu split counter updated on task state transitions to keep task activity statistics up-to-date.