summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/time/sampler_unsafe.go
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2019-11-18 14:55:30 -0800
committergVisor bot <gvisor-bot@google.com>2019-11-18 14:56:49 -0800
commit26b3341b9ae08bb72971d5465c77e6c8db82c996 (patch)
tree17948f8ebd48b6354c96c2923c32fa8e146abf60 /pkg/sentry/time/sampler_unsafe.go
parent235a96cab15e64c69fbbdce03c9bb4eb2c30b0d5 (diff)
platform/ptrace: use host.GetCPU instead of the getcpu syscall
This should save ~200ns from switchToApp (on ptrace too). // mpratt PiperOrigin-RevId: 281159895
Diffstat (limited to 'pkg/sentry/time/sampler_unsafe.go')
0 files changed, 0 insertions, 0 deletions