aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2011-02-16 10:22:34 +0000
committerIngo Molnar <[email protected]>2011-02-16 12:30:55 +0000
commit163ec4354a5135c6c38c3f4a9b46a31900ebdf48 (patch)
tree59063e726453ace397c66d95cab09ac43265be41 /tools/perf/util/annotate.c
parentperf, x86: Add support for AMD family 15h core counters (diff)
downloadkernel-163ec4354a5135c6c38c3f4a9b46a31900ebdf48.tar.gz
kernel-163ec4354a5135c6c38c3f4a9b46a31900ebdf48.zip
perf: Optimize throttling code
By pre-computing the maximum number of samples per tick we can avoid a multiplication and a conditional since MAX_INTERRUPTS > max_samples_per_tick. Signed-off-by: Peter Zijlstra <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions