Make CPU stats per-core

Signed-off-by: Pekka Enberg <penberg@iki.fi>