Home
last modified time | relevance | path

Searched refs:rapl_pmu (Results 1 – 1 of 1) sorted by relevance

/linux/arch/x86/events/
H A Drapl.c130 struct rapl_pmu { struct
144 struct rapl_pmu *rapl_pmu[] __counted_by(nr_rapl_pmu); argument
247 static void rapl_start_hrtimer(struct rapl_pmu *pmu) in rapl_start_hrtimer()
255 struct rapl_pmu *rapl_pmu = container_of(hrtimer, struct rapl_pmu, hrtimer); in rapl_hrtimer_handle() local
259 if (!rapl_pmu->n_active) in rapl_hrtimer_handle()
262 raw_spin_lock_irqsave(&rapl_pmu->lock, flags); in rapl_hrtimer_handle()
264 list_for_each_entry(event, &rapl_pmu->active_list, active_entry) in rapl_hrtimer_handle()
267 raw_spin_unlock_irqrestore(&rapl_pmu->lock, flags); in rapl_hrtimer_handle()
269 hrtimer_forward_now(hrtimer, rapl_pmu->timer_interval); in rapl_hrtimer_handle()
274 static void rapl_hrtimer_init(struct rapl_pmu *rapl_pmu) in rapl_hrtimer_init() argument
[all …]