pintos_thread_ticks
2016-05-29 15:02:02 0 举报
thread_ticks
作者其他创作
大纲/内容
user_ticks++
get current thread t
no
yes
end
update priority of all threads
t-pagedir!=NULL
timer_ticks is divisible by 100
t is idle_thread
update load_avg and recent_cpu of all threads
thread_mlfqs
kernel_ticks++
start
idle_ticks ++
add the recent_cpu of thread t with 1
timer_ticks is divisible by 4
收藏
收藏
0 条评论
下一页