Part LIX. Common Clock Services

Jonathan Larmour

eCosCentric Limited

Table of Contents

200. Overview
200.1. Introduction
200.2. Functionality
200.3. Concepts and structure
201. Dependencies
201.1. HAL
201.2. Kernel
201.3. Wallclock (RTC)
201.4. C library and POSIX layers
202. Configuration
203. API reference
cyg_clock_get_systime() — Retrieve the current system time
cyg_clock_get_systime_res — Obtain the resolution of the system clock
cyg_clock_set_systime() — Sets the system clock to the supplied time
cyg_clock_sync_wallclock() — Force the wallclock to be updated from system time
cyg_clock_adjust_systime() — Adjust the system time
Time change notification — Registering and deregistering for notification of changes to system time
cyg_clock_sysclock_handle() — Return a handle to the system clock
Time conversions — Converting between clock ticks and calendar time