diff options
author | Alexey Makhalov <[email protected]> | 2016-10-19 22:02:11 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2016-10-21 10:12:11 +0200 |
commit | cf11372949434fc4a6194b1ed9eb861d08032d08 (patch) | |
tree | 20c5ecbe1186df54f94b6762d17d47f9d9dd8491 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | 1a1891d762d6e64daf07b5be4817e3fbb29e3c59 (diff) |
x86/vmware: Read tsc_khz only once at boot time
Re-factor the vmware platform setup code to query the hypervisor for tsc
frequency only once during boot. Since the VMware hypervisor guarantees
constant TSC, calibrate_tsc now uses the saved value.
Signed-off-by: Alexey Makhalov <[email protected]>
Acked-by: Alok N Kataria <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/20161020050211.GA25304@amakhalov-virtual-machine
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions