Sets the current status of the systemwide timer-adjustment values.
#include <sys/types.h> int ksettickd (timed, tickd, time_adjusted) int *timed; int *tickd; int *time_adjusted;
The ksettickd kernel service provides kernel extensions with the capability to update the time_adjusted parameter, and set or change the systemwide time-of-day timer adjustment amount and rate. The timer-adjustment values indicated by the timed and tickd parameters are the same values used by the adjtime subroutine. A call to the settimer or adjtime subroutine for the systemwide time-of-day timer sets the time_adjusted parameter to True, as read by the kgettickd kernel service.
This kernel service is typically used only by kernel extensions providing time synchronization functions such as coordinated network time where the adjtime subroutine is insufficient.
Note: The ksettickd service provides no serialization with respect to the adjtime and settimer subroutines, the ksettimer kernel service, or the timer interrupt handler, all of which also use and update these values. The caller of this kernel service must provide the necessary serialization to ensure appropriate operation.
The ksettickd kernel service can be called from either the process or interrupt environment.
The ksettickd kernel service always returns a value of 0.
The ksettickd kernel service is part of Base Operating System (BOS) Runtime.
The kgettickd kernel service, ksettimer kernel service.
The adjtime subroutine, settimer subroutine.
Timer and Time-of-Day Kernel Services and Using Fine Granularity Timer Services and Structures in AIX Kernel Extensions and Device Support Programming Concepts.