On Tue, Jun 01, 2021 at 08:03:43PM -0500, Scott Cheloha wrote:
> The documentation for the Linux pvclock is pretty sparse but I am
> pretty sure we want to use a monotonic base for ti_system_time. We
> also have a function for converting a timespec into a 64-bit count of
> nanoseconds we can use.
The documentation for the Linux pvclock is pretty sparse but I am
pretty sure we want to use a monotonic base for ti_system_time. We
also have a function for converting a timespec into a 64-bit count of
nanoseconds we can use.
We may as well also use rdtsc_lfence() to ensure consistent behavior.