Re: firewire: CLOCK_MONOTONIC_RAW exposure
From: Clemens Ladisch
Date: Wed Jul 16 2014 - 08:30:11 EST
Thomas Gleixner wrote:
> I wonder why firewire exposed CLOCK_MONOTONIC_RAW to user space.
>
> What's the purpose of that? CLOCK_MONOTONIC_RAW is the raw time based
> on the initial frequency setup of the clocksource. That can be quite
> off from the NTP corrected frequency which is exposed by
> CLOCK_MONOTONIC.
The purpose is to get a stable clock, i.e., to avoid clock rate changes
caused by NTP corrections.
ALSA is adding CLOCK_MONOTONIC_RAW for the same reason.
Regards,
Clemens
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/