[lkml]   [2019]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2] timekeeping: get_jiffies_boot_64() for jiffies that include sleep time
On Wed, Jun 19, 2019 at 4:24 PM Jason A. Donenfeld <> 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?


 \ /
  Last update: 2019-06-19 16:41    [W:0.043 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site