summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorYunlong Song <yunlong.song@huawei.com>2015-03-31 21:46:36 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-04-08 09:07:27 -0300
commitff5f3bbd40bfb8632f826f1f83223d95363f36af (patch)
tree8b3329a04edab38bf9f048e2307249e1341f2bc3 /drivers
parentf0dd330fdf07d295ac468660cf60341796d5d501 (diff)
downloadlinux-ff5f3bbd40bfb8632f826f1f83223d95363f36af.tar.gz
linux-ff5f3bbd40bfb8632f826f1f83223d95363f36af.tar.bz2
linux-ff5f3bbd40bfb8632f826f1f83223d95363f36af.zip
perf sched replay: Use replay_repeat to calculate the runavg of cpu usage instead of the default value 10
Since sched->replay_repeat is set to 10 as default, the sched->run_avg, sched->runavg_cpu_usage, and sched->runavg_parent_cpu_usage all use 10 to calculate their value. However, the replay_repeat can be changed to other value by using -r option, so the calculation above should use replay_repeat to achieve more accurate results instead of the default value 10. Signed-off-by: Yunlong Song <yunlong.song@huawei.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/r/1427809596-29559-10-git-send-email-yunlong.song@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions