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