summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJoonwoo Park <joonwoop@codeaurora.org>2016-03-08 13:46:04 -0800
committerKyle Yan <kyan@codeaurora.org>2016-04-27 19:13:05 -0700
commit35f1d99e0a3ad7f1b15ca2085ca92fd545dd01de (patch)
treea52e8cb3208ee558621098b70e3b41645a9c1ef3 /tools/perf/scripts/python/netdev-times.py
parent343dcf1ecc085671982de5de6212dbad827bbf1a (diff)
sched: add support for CPU frequency estimation with cycle counter
At present scheduler calculates task's demand with the task's execution time weighted over CPU frequency. The CPU frequency is given by governor's CPU frequency transition notification. Such notification may not be available. Provide an API for CPU clock driver to register callback functions so in order for scheduler to access CPU's cycle counter to estimate CPU's frequency without notification. At time point scheduler assumes the cycle counter increases always even when cluster is idle which might not be true. This will be fixed by subsequent change for more accurate I/O wait time accounting. CRs-fixed: 1006303 Change-Id: I93b187efd7bc225db80da0184683694f5ab99738 Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions