The package provides an API which presents functions to the user or higher layers to:
Get the system time;
Set the system time;
Adjust the system time by a small amount, manage such adjustments, and potentially manage other aspects of clock discipline;
Receive notifications of changes to system time;
Instruct the package to update a wallclock (RTC) device configured into eCos with the current system time;
Provide a kernel C API clock handle linked to the clock which is driving system time (which may or may not be the same as the real time clock driving the kernel scheduler). This can in turn be used to set alarms associated with ticks of that clock;
Convert between system time clock ticks and calendar time, both in the form of relative time offsets, or absolute timestamps.