Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __VDSO_KTIME_H
0003 #define __VDSO_KTIME_H
0004 
0005 #include <vdso/jiffies.h>
0006 
0007 /*
0008  * The resolution of the clocks. The resolution value is returned in
0009  * the clock_getres() system call to give application programmers an
0010  * idea of the (in)accuracy of timers. Timer values are rounded up to
0011  * this resolution values.
0012  */
0013 #define LOW_RES_NSEC        TICK_NSEC
0014 #define KTIME_LOW_RES       (LOW_RES_NSEC)
0015 
0016 #endif /* __VDSO_KTIME_H */