Home
last modified time | relevance | path

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

/arch/x86/events/
A Drapl.c132 int n_active; member
259 if (!rapl_pmu->n_active) in rapl_hrtimer_handle()
293 rapl_pmu->n_active++; in __rapl_pmu_event_start()
294 if (rapl_pmu->n_active == 1) in __rapl_pmu_event_start()
318 WARN_ON_ONCE(rapl_pmu->n_active <= 0); in rapl_pmu_event_stop()
319 rapl_pmu->n_active--; in rapl_pmu_event_stop()
320 if (rapl_pmu->n_active == 0) in rapl_pmu_event_stop()
/arch/x86/events/intel/
A Duncore.c312 if (!box->n_active || box->cpu != smp_processor_id()) in uncore_pmu_hrtimer()
521 if (box->n_active++ == 0) in uncore_pmu_event_start()
531 box->n_active++; in uncore_pmu_event_start()
537 if (box->n_active == 1) in uncore_pmu_event_start()
549 if (--box->n_active == 0) in uncore_pmu_event_stop()
557 box->n_active--; in uncore_pmu_event_stop()
562 if (box->n_active == 0) in uncore_pmu_event_stop()
A Duncore.h143 int n_active; /* number of active events */ member

Completed in 14 milliseconds