---
name: "hrtimer_start"
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_start"
---

# hrtimer\_start(9)

(re)start an hrtimer on the current CPU

## NAME

hrtimer\_start - (re)start an hrtimer on the current CPU

## SYNOPSIS

**int hrtimer\_start(struct hrtimer \*** *timer***, ktime\_t** *tim***, const enum hrtimer\_mode** *mode***);**

## ARGUMENTS

*timer*

the timer to be added

*tim*

expiry time

*mode*

expiry mode: absolute (HRTIMER\_MODE\_ABS) or relative (HRTIMER\_MODE\_REL)

## RETURNS

0 on success 1 when the timer was active

## COPYRIGHT
