aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2010-04-28 22:49:36 -0400
committerMatt Turner <[email protected]>2010-05-26 00:40:28 +0200
commita75f5f0f0a3676216e0015b3040c785dbfe1e0da (patch)
treec6cd7600562dd0d374e4d41a1d558ce96ef6c7e2 /tools/perf/util/trace-event-scripting.c
parent1cb3d8e2c8d30d2cbfe42b696d501d0a016edec1 (diff)
alpha: simplify and optimize sched_find_first_bit
Search only the first 100 bits instead of 140, saving a couple instructions. The resulting code is about 1/3 faster (40K ticks/1000 iterations down to 30K ticks/1000 iterations). Cc: Peter Zijlstra <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Ivan Kokshaysky <[email protected]> Cc: [email protected] Acked-by: Richard Henderson <[email protected]> Signed-off-by: Matt Turner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions