Re: [PATCH 1/1] posix clocks: introduce syscall for clock tuning.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Richard Cochran
Date: Friday, August 27, 2010 - 4:24 am

On Mon, Aug 23, 2010 at 01:41:13PM -0700, john stultz wrote:

But the adjtimex does not support nanosecond resolution.
 

Would the new syscall need to take a struct timex?

If so, I think it not worth the effort of adding a syscall. Instead,
we can just add "clockid" flags into the mode field.


You could adjust the frequency of either one. As a side effect, the
other clock would also be adjusted.

You can only change the time offset on CLOCK_REALTIME, and that would
have no effect on CLOCK_MONOTONIC.


If I understand correctly, MONOTONIC_RAW is just access to the
hardware counter?
 

Don't think so.


Thanks,
Richard
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/1] posix clocks: introduce syscall for clock ..., Richard Cochran, (Fri Aug 27, 4:24 am)