切换(自愿 / 非自愿)
—
切换开销占比
—
全部完成
—
C 平均等 CPU
—
CPU 运行某个线程
上下文切换
运行
就绪,等 CPU
阻塞,等数据库
时间片
5 ms
10 ms
20 ms
50 ms