aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorSameer Nanda <[email protected]>2011-07-25 17:13:29 -0700
committerLinus Torvalds <[email protected]>2011-07-25 20:57:17 -0700
commit7afe1845dd1e7c90828c942daed7e57ffa7c38d6 (patch)
treedabdded21b9d03cf04719b684e393929378f6c8d /tools/perf/util/scripting-engines/trace-event-python.c
parent469dded1839105cfbfc265376e23e24dbc48d2a7 (diff)
init: skip calibration delay if previously done
For each CPU, do the calibration delay only once. For subsequent calls, use the cached per-CPU value of loops_per_jiffy. This saves about 200ms of resume time on dual core Intel Atom N5xx based systems. This helps bring down the kernel resume time on such systems from about 500ms to about 300ms. [[email protected]: make cpu_loops_per_jiffy static] [[email protected]: clean up message text] [[email protected]: fix things up after upstream rmk changes] Signed-off-by: Sameer Nanda <[email protected]> Cc: Phil Carmody <[email protected]> Cc: Andrew Worsley <[email protected]> Cc: David Daney <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions