blob: a0fd07239e0e8400dc7715ef55f44ca3e61fd43b [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/* 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 */