https://github.com/torvalds/linux
Raw File
Tip revision: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 authored by Linus Torvalds on 14 August 2022, 22:50:18 UTC
Linux 6.0-rc1
Tip revision: 568035b
ktime.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __VDSO_KTIME_H
#define __VDSO_KTIME_H

#include <vdso/jiffies.h>

/*
 * The resolution of the clocks. The resolution value is returned in
 * the clock_getres() system call to give application programmers an
 * idea of the (in)accuracy of timers. Timer values are rounded up to
 * this resolution values.
 */
#define LOW_RES_NSEC		TICK_NSEC
#define KTIME_LOW_RES		(LOW_RES_NSEC)

#endif /* __VDSO_KTIME_H */
back to top