---
name: "struct_hrtimer_clock_base"
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/struct_hrtimer_clock_base"
---

# struct\_hrtimer\_clock\_base(9)

the timer base for a specific clock

## NAME

struct\_hrtimer\_clock\_base - the timer base for a specific clock

## SYNOPSIS

```
struct hrtimer_clock_base {
  struct hrtimer_cpu_base * cpu_base;
  int index;
  clockid_t clockid;
  struct timerqueue_head active;
  ktime_t resolution;
  ktime_t (* get_time) (void);
  ktime_t softirq_time;
  ktime_t offset;
};
```

## MEMBERS

cpu\_base

per cpu clock base

index

clock type index for per\_cpu support when moving a timer to a base on another cpu.

clockid

clock id for per\_cpu support

active

red black tree root node for the active timers

resolution

the resolution of the clock, in nanoseconds

get\_time

function to retrieve the current time of the clock

softirq\_time

the time when running the hrtimer queue in the softirq

offset

offset of this clock to the monotonic base

## COPYRIGHT
