diff options
author | Martin Schwidefsky <[email protected]> | 2009-08-14 15:47:27 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2009-08-15 10:55:46 +0200 |
commit | 23ce72117c714baab794e66c8daf343bf6a912bf (patch) | |
tree | ef2cfc1ffbf07c344ab28a6f5f2357e6b2c9a99d /tools/perf/scripts/python/check-perf-trace.py | |
parent | 155ec60226ae0ae2aadaa57c951a58a359331030 (diff) |
timekeeping: Add xtime_shift and ntp_error_shift to struct timekeeper
The xtime_nsec value in the timekeeper structure is shifted by a few
bits to improve precision. This happens to be the same value as the
clock->shift. To improve readability add xtime_shift to the timekeeper
and use it instead of the clock->shift. Likewise add ntp_error_shift
and replace all (NTP_SCALE_SHIFT - clock->shift) expressions.
Signed-off-by: Martin Schwidefsky <[email protected]>
Cc: Ingo Molnar <[email protected]>
Acked-by: John Stultz <[email protected]>
Cc: Daniel Walker <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions