Lines Matching refs:hrtimer
17 #include <linux/hrtimer.h>
23 static DEFINE_PER_CPU(struct hrtimer, oprofile_hrtimer);
26 static enum hrtimer_restart oprofile_hrtimer_notify(struct hrtimer *hrtimer)
29 hrtimer_forward_now(hrtimer, ns_to_ktime(TICK_NSEC));
35 struct hrtimer *hrtimer = &__get_cpu_var(oprofile_hrtimer);
40 hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
41 hrtimer->function = oprofile_hrtimer_notify;
43 hrtimer_start(hrtimer, ns_to_ktime(TICK_NSEC),
58 struct hrtimer *hrtimer = &per_cpu(oprofile_hrtimer, cpu);
63 hrtimer_cancel(hrtimer);