You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
instrumentation: ARM support for fast time measurements
Similar to the RDTSC/RDTSCP instructions on x68-64, this introduces
use of the cntvct_el0 instruction on ARM systems to access the generic
timer that provides a synchronized ticks value across CPUs.
Note this adds an exception for Apple Silicon CPUs, due to the observed
fact that M3 and newer has different timer frequencies for the Efficiency
and the Performance cores, and we can't be sure where we get scheduled.
To simplify the implementation this does not support Windows on ARM,
since its quite rare and hard to test.
Relies on the existing timing_clock_source GUC to control whether
TSC-like timer gets used, instead of system timer.
Author: Lukas Fittl <lukas@fittl.com>
Reviewed-by:
Discussion:
0 commit comments