^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef __VDSO_KTIME_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define __VDSO_KTIME_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #include <vdso/jiffies.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) * The resolution of the clocks. The resolution value is returned in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) * the clock_getres() system call to give application programmers an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) * idea of the (in)accuracy of timers. Timer values are rounded up to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) * this resolution values.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #define LOW_RES_NSEC TICK_NSEC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #define KTIME_LOW_RES (LOW_RES_NSEC)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #endif /* __VDSO_KTIME_H */