1 /* 2 * Copyright (c) 2023 Intel Corporation 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef _LATENCY_MEASURE_TIMING_SC_H 8 #define _LATENCY_MEASURE_TIMING_SC_H 9 10 #include <zephyr/kernel.h> 11 #include <zephyr/timing/timing.h> 12 #include <stdint.h> 13 14 __syscall timing_t timing_timestamp_get(void); 15 16 void timestamp_overhead_init(uint32_t num_iterations); 17 uint64_t timestamp_overhead_adjustment(uint32_t options1, uint32_t options2); 18 19 #include <zephyr/syscalls/timing_sc.h> 20 21 #endif 22