Provide data structures to capture a timestamp in two different clocks, monitor the drift between those clocks, and using a base instant with estimated drift convert between the clocks. This provides the core technology to convert between system uptime and an external continuous time scale like TAI (UTC without applying leap seconds). Signed-off-by: Peter A. Bigot <pab@pabigot.com>
7 lines
232 B
CMake
7 lines
232 B
CMake
# Copyright 2019-2020 Peter Bigot Consulting
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
project(timeutil)
|
|
set(SOURCES main.c test_gmtime.c test_s32.c test_s64.c test_sync.c)
|
|
find_package(ZephyrUnittest REQUIRED HINTS $ENV{ZEPHYR_BASE})
|