Re: [PATCH 1/4] time: add ktime_get_cycles64() api
From: Thomas Gleixner <hidden>
Date: 2023-10-09 14:49:04
Also in:
lkml
From: Thomas Gleixner <hidden>
Date: 2023-10-09 14:49:04
Also in:
lkml
On Sat, Sep 30 2023 at 14:15, Richard Cochran wrote:
On Fri, Sep 29, 2023 at 12:06:46AM -0700, John Stultz wrote:quoted
But I still think we should avoid exporting the raw cycle values unless there is some extremely strong argument for itLooks like the argument was based on a misunderstanding of what CLOCK_MONOTONIC_RAW actually is. So, please, let's not expose the raw cycle counter value.
Correct. Exposing the raw counter value is broken if the counter wraps
around on a regular base.
Thanks,
tglx