diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-07-09 00:15:31 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-11 15:53:27 +0200 |
commit | c0c87734f125d2fa8ebc70310f3257fa6209f2b6 (patch) | |
tree | c94f9f6c1e8dcc68c2a30caaff64db7e81a65510 /include | |
parent | 2b8a0cf4890d7537a77b51caa8f508e4a05a0e67 (diff) |
sched_clock: only update deltas with local reads.
Reading the CPU clock should try to stay accurate within the CPU.
By reading the CPU clock from another CPU and updating the deltas can
cause unneeded jumps when reading from the local CPU.
This patch changes the code to update the last read TSC only when read
from the local CPU.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Steven Rostedt <srostedt@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions