线程调度演示
FIFO (先来先服务)
时间片轮转
优先级调度
添加线程
{{ isRunning ? '暂停' : '开始调度' }}
重置
{{ thread.name }}
{{ stateText(thread.state) }}
优先级: {{ thread.priority }}
{{ completedThreads }}
已完成线程
{{ contextSwitches }}
上下文切换
{{ avgWaitTime }}ms
平均等待时间
{{ throughput }}
吞吐量 (线程/秒)
当前调度算法: {{ algorithmName }}
{{ algorithmDescription }}