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