summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/time/BUILD
diff options
context:
space:
mode:
authorhoward zhang <howard.zhang@arm.com>2021-05-14 11:00:36 +0800
committerHoward Zhang <howard.zhang@arm.com>2021-05-14 16:40:36 +0800
commitbe0897702e77081ce6f1add7b4e98fcfcc020d7e (patch)
treec74fe81c83ab6a1a8bad46a8d8bd6b64bee49113 /pkg/sentry/time/BUILD
parent2b457d9ee9ba50da4a9208d957053fac2c77932d (diff)
calibrate defaultOverheadCycles for ARM64
Usually ARM counter-timer frequency is range from 1-50Mhz which is much less than that on x86, so we calibrate defaultOverheadCycles for ARM. Signed-off-by: howard zhang <howard.zhang@arm.com>
Diffstat (limited to 'pkg/sentry/time/BUILD')
-rw-r--r--pkg/sentry/time/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/time/BUILD b/pkg/sentry/time/BUILD
index 1f617ca8f..bc75a47fc 100644
--- a/pkg/sentry/time/BUILD
+++ b/pkg/sentry/time/BUILD
@@ -25,6 +25,8 @@ go_library(
"muldiv_arm64.s",
"parameters.go",
"sampler.go",
+ "sampler_amd64.go",
+ "sampler_arm64.go",
"sampler_unsafe.go",
"seqatomic_parameters_unsafe.go",
"tsc_amd64.s",