---
name: "hrtimer_start_range_ns"
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_range_ns"
---

# hrtimer\_start\_range\_ns(9)

(re)start an hrtimer on the current CPU

## NAME

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

## SYNOPSIS

**int hrtimer\_start\_range\_ns(struct hrtimer \*** *timer***, ktime\_t** *tim***, unsigned long** *delta\_ns***, const enum hrtimer\_mode** *mode***);**

## ARGUMENTS

*timer*

the timer to be added

*tim*

expiry time

*delta\_ns*

"slack" range for the timer

*mode*

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

## RETURNS

0 on success 1 when the timer was active

## COPYRIGHT
