On Wed, Jun 19, 2019 at 4:24 PM Jason A. Donenfeld <ja...@zx2c4.com> wrote: > > This enables using the usual get_jiffies_64() but taking into account > time spent sleeping, giving the high performance characteristics of > querying jiffies without the drawback.
Can you quantify how much this gains you over ktime_get_coarse_boottime in practice? You are effectively adding yet another abstraction for time, which is something I'd hope to avoid unless you have a strong reason other than it being faster in theory. How often do you read the current time? Arnd