---
name: "hrtimer_init"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/hrtimer_init"
---

# hrtimer\_init(9)

initialize a timer to the given clock

## NAME

hrtimer\_init - initialize a timer to the given clock

## SYNOPSIS

**void hrtimer\_init(struct hrtimer \*** *timer***, clockid\_t** *clock\_id***, enum hrtimer\_mode** *mode***);**

## ARGUMENTS

*timer*

the timer to be initialized

*clock\_id*

the clock to be used

*mode*

timer mode abs/rel

## COPYRIGHT
