码迷,mamicode.com
首页 > 其他好文 > 详细

Kernel-Scheduler implementation

时间:2014-11-02 12:03:59      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:http   io   os   sp   strong   on   bs   amp   ef   

2033 const struct sched_class rt_sched_class = {
2034         .next                   = &fair_sched_class,
2035         .enqueue_task           = enqueue_task_rt,
2036         .dequeue_task           = dequeue_task_rt,
2037         .yield_task             = yield_task_rt,
2038 
2039         .check_preempt_curr     = check_preempt_curr_rt,(blank)
2040 
2041         .pick_next_task         = pick_next_task_rt,
2042         .put_prev_task          = put_prev_task_rt,(blank)
2043 
2044 #ifdef CONFIG_SMP
2045         .select_task_rq         = select_task_rq_rt,
2046 
2047         .set_cpus_allowed       = set_cpus_allowed_rt,
2048         .rq_online              = rq_online_rt,
2049         .rq_offline             = rq_offline_rt,
2050         .pre_schedule           = pre_schedule_rt,
2051         .post_schedule          = post_schedule_rt,
2052         .task_woken             = task_woken_rt,
2053         .switched_from          = switched_from_rt,
2054 #endif
2055 
2056         .set_curr_task          = set_curr_task_rt,
2057         .task_tick              = task_tick_rt,
2058 
2059         .get_rr_interval        = get_rr_interval_rt,
2060 
2061         .prio_changed           = prio_changed_rt,
2062         .switched_to            = switched_to_rt,
2063 };

 

Kernel-Scheduler implementation

标签:http   io   os   sp   strong   on   bs   amp   ef   

原文地址:http://www.cnblogs.com/airwindow/p/4068806.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!