aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2015-04-14 21:08:27 +0000
committerThomas Gleixner <[email protected]>2015-04-22 17:06:48 +0200
commit398ca17fb54b212cdc9da7ff4a17a35c48dd2103 (patch)
treed736078b944be8defa53934549b15254412c5208 /tools/perf/scripts/python
parentd9f0acdeef48570c4e6159d3108f12b64571392e (diff)
hrtimer: Get rid of the resolution field in hrtimer_clock_base
The field has no value because all clock bases have the same resolution. The resolution only changes when we switch to high resolution timer mode. We can evaluate that from a single static variable as well. In the !HIGHRES case its simply a constant. Export the variable, so we can simplify the usage sites. Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Preeti U Murthy <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: Viresh Kumar <[email protected]> Cc: Marcelo Tosatti <[email protected]> Cc: Frederic Weisbecker <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions