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

调度的log 1.5ms 12ms 4ms

时间:2018-06-03 12:30:22      阅读:130      评论:0      收藏:0      [点我收藏+]

标签:com   sch   enc   state   runtime   color   nbsp   调度   1.5   

  36
  37
  38            loopM 24369 [001] 60789.192708: sched:sched_switch: prev_comm=loopM prev_pid=24369 prev_prio=120 prev_state=R ==> next_comm=loo     p next_pid=24361 next_prio=120
  39             loop 24361 [001] 60789.196705: sched:sched_stat_runtime: comm=loop pid=24361 runtime=3998313 [ns] vruntime=20031728161993 [ns]
  40             loop 24361 [001] 60789.200705: sched:sched_stat_runtime: comm=loop pid=24361 runtime=3999604 [ns] vruntime=20031732161597 [ns]
  41             loop 24361 [001] 60789.200706: sched:sched_stat_runtime: comm=loop pid=24361 runtime=1047 [ns] vruntime=20031732162644 [ns]
  42             loop 24361 [001] 60789.200707: sched:sched_stat_wait: comm=loopM pid=24369 delay=7998964 [ns]
  43             loop 24361 [001] 60789.200707: sched:sched_switch: prev_comm=loop prev_pid=24361 prev_prio=120 prev_state=R ==> next_comm=loop     M next_pid=24369 next_prio=120
  t
为啥是每4ms进行一次 1.5ms, small_granularity=1.5ms, sched_latency_ns=12ms

为啥

调度的log 1.5ms 12ms 4ms

标签:com   sch   enc   state   runtime   color   nbsp   调度   1.5   

原文地址:https://www.cnblogs.com/honpey/p/9128157.html

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