aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2011-02-15 12:41:46 +0100
committerIngo Molnar <mingo@elte.hu>2011-02-16 13:30:57 +0100
commitba3dd36c6775264ee6e7354ba1aabcd6e86d7298 (patch)
treef48441ff3179a91b4acde6c785726a34e6dc856a /tools
parent163ec4354a5135c6c38c3f4a9b46a31900ebdf48 (diff)
downloadkernel_samsung_espresso10-ba3dd36c6775264ee6e7354ba1aabcd6e86d7298.zip
kernel_samsung_espresso10-ba3dd36c6775264ee6e7354ba1aabcd6e86d7298.tar.gz
kernel_samsung_espresso10-ba3dd36c6775264ee6e7354ba1aabcd6e86d7298.tar.bz2
perf: Optimize hrtimer events
There is no need to re-initialize the hrtimer every time we start it, so don't do that (shaves a few cycles). Also, since we know hrtimers run at a fixed rate (nanoseconds) we can pre-compute the desired frequency at which they tick. This avoids us having to go through the whole adaptive frequency feedback logic (shaves another few cycles). Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1297448589.5226.47.camel@laptop> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions