1HRTIMER_GET_RES(9) Driver Basics HRTIMER_GET_RES(9)
23
4
NAME
6hrtimer_get_res - get the timer resolution for a clock
7
SYNOPSIS
9int hrtimer_get_res(const clockid_t which_clock, struct timespec * tp);
10
ARGUMENTS
12which_clock
13which clock to query
1415
tp
16pointer to timespec variable to store the resolution
17
DESCRIPTION
19Store the resolution of the clock selected by which_clock in the
20variable pointed to by tp.
21
COPYRIGHT
23Kernel Hackers Manual 2.6. November 2011 HRTIMER_GET_RES(9)