1 /* SPDX-License-Identifier: BSD-3-Clause */
13 * Provides semi-standard OS facilities by convenient names.
21 rte_timespec_get(struct timespec *now, int base)
23 if (base != TIME_UTC || clock_gettime(CLOCK_REALTIME, now) < 0)
28 #define timespec_get(ts, base) rte_timespec_get(ts, base)
30 #endif /* !defined TIME_UTC */
32 #endif /* _RTE_OS_SHIM_ */