perfcounters: restructure x86 counter math
authorIngo Molnar <mingo@elte.hu>
Sat, 13 Dec 2008 08:00:03 +0000 (09:00 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Dec 2008 19:30:48 +0000 (20:30 +0100)
commitee06094f8279e1312fc0a31591320cc7b6f0ab1e
treeaecf8f2177b2398e4db8df68a9705009b31a8ef7
parent9b194e831fb2c322ed81a373e49620f34edc2778
perfcounters: restructure x86 counter math

Impact: restructure code

Change counter math from absolute values to clear delta logic.

We try to extract elapsed deltas from the raw hw counter - and put
that into the generic counter.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/Kconfig
arch/x86/kernel/cpu/perf_counter.c
include/linux/perf_counter.h
kernel/perf_counter.c