Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/include/vdso/ktime.h
26278 views
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
18