ktime.h 454 B

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