From 72683c2804d9a3c3e63d92c45d1e8cab95ef8be8 Mon Sep 17 00:00:00 2001 From: Matias Elo Date: Tue, 13 Jun 2023 16:55:57 +0300 Subject: linux-gen: time: refactor implementation Refactor time codebase to enable more optimized architecture specific implementations. After this commit x86 and aarch64 architectures are assumed to always have support for HW time. The fallback to POSIX time functions has been removed from these architectures for improved performance. Signed-off-by: Matias Elo Reviewed-by: Petri Savolainen --- platform/linux-generic/arch/aarch64/odp/api/abi/time_inlines.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 platform/linux-generic/arch/aarch64/odp/api/abi/time_inlines.h (limited to 'platform/linux-generic/arch/aarch64/odp/api/abi/time_inlines.h') diff --git a/platform/linux-generic/arch/aarch64/odp/api/abi/time_inlines.h b/platform/linux-generic/arch/aarch64/odp/api/abi/time_inlines.h new file mode 100644 index 000000000..331d1996f --- /dev/null +++ b/platform/linux-generic/arch/aarch64/odp/api/abi/time_inlines.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2023, Nokia + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include -- cgit v1.2.3