sophia: add per-thread online scheduler statistics (trace)