Home
last modified time | relevance | path

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

/lib/
Dproportions.c216 unsigned long global_period; in prop_norm_percpu() local
219 global_period = percpu_counter_read(&pg->events); in prop_norm_percpu()
220 global_period &= period_mask; in prop_norm_percpu()
226 if (pl->period == global_period) in prop_norm_percpu()
237 period = (global_period - pl->period) >> (pg->shift - 1); in prop_norm_percpu()
249 pl->period = global_period; in prop_norm_percpu()
346 unsigned long global_period; in prop_norm_single() local
349 global_period = percpu_counter_read(&pg->events); in prop_norm_single()
350 global_period &= period_mask; in prop_norm_single()
356 if (pl->period == global_period) in prop_norm_single()
[all …]