Fix GetTSC test to handle ARM64 on Win32
The recently added timer performance test for __rdtsc fails to compile on ARM64, for obvious reasons. This change fixes the test to use the ARM64 cycle counter when building for that platform. The ReadCycleCounter definition was copied from base\time\time_win.cc Bug: 893460 Change-Id: I0d891c5a197e097084a765ab66e9da1b4173b418 Reviewed-on: https://chromium-review.googlesource.com/c/1394987Reviewed-by:Yuri Wiitala <miu@chromium.org> Commit-Queue: Bruce Dawson <brucedawson@chromium.org> Cr-Commit-Position: refs/heads/master@{#619820}
Showing
Please register or sign in to comment