(2) 任务切换时间(Context-Switching Time)指运行多任务时,系统发生任务切换、保存和恢复CPU寄存器内容的时间。任务切换所需要的时间取决于CPU有多少寄存器要出入栈。
基于24个网页-相关网页
Context Switching Time 上下文切换时间
Context Switching, is defined as changing focus and attention from one task to the other in relatively short periods of time.
在相对短的时间内,把注意力从一个任务切换到另一个任务,这就是“切换上下文”的定义。
If the value of context switching is very high, increasing the time slice can improve performance, but this should only be done after extensive analysis.
如果上下文切换的值非常高,则增加时间切片可提高性能,但这必须在经过大量分析之后才能实施。
Increasing the time slice can improve system throughput due to reduced context switching.
增加时间切片可减少上下文切换,从而可以提高系统吞吐量。
应用推荐