'\" t .\" Title: hrtimer_get_res .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Driver Basics .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "HRTIMER_GET_RES" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Driver Basics" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" hrtimer_get_res \- get the timer resolution for a clock .SH "SYNOPSIS" .HP \w'int\ hrtimer_get_res('u .BI "int hrtimer_get_res(const\ clockid_t\ " "which_clock" ", struct\ timespec\ *\ " "tp" ");" .SH "ARGUMENTS" .PP \fIwhich_clock\fR .RS 4 which clock to query .RE .PP \fItp\fR .RS 4 pointer to timespec variable to store the resolution .RE .SH "DESCRIPTION" .PP Store the resolution of the clock selected by \fIwhich_clock\fR in the variable pointed to by \fItp\fR\&. .SH "COPYRIGHT" .br