Thread (30 messages) 30 messages, 7 authors, 2010-09-11

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

flat view

From: Richard Cochran <hidden>
Date: 2010-09-04 14:06:40
Also in: linux-api, lkml

On Fri, Sep 03, 2010 at 11:29:05AM +0200, Richard Cochran wrote:
A new syscall is introduced that allows tuning of a POSIX clock. The
syscall is implemented for four architectures: arm, blackfin, powerpc,
and x86.

The new syscall, clock_adjtime, takes two parameters, the clock ID,
and a pointer to a struct timex. The semantics of the timex struct
have been expanded by one additional mode flag, which allows an
absolute offset correction. When specificied, the clock offset is
immediately corrected by skipping to the new time value.
Sorry, last sentence should read, "corrected by adding the given time
value to the current time value."

Richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help