Lines Matching full:period

3  *  Floating proportions with flexible aging period
14 * Where x_{i,j} is j's number of events in i-th last time period and x_i is
15 * total number of events in i-th last time period.
26 * When a new period is declared, we could do:
33 * occurs. This can bit trivially implemented by remembering last period in
42 p->period = 0; in fprop_global_init()
57 * Declare @periods new periods. It is upto the caller to make sure period
79 p->period += periods; in fprop_new_period()
93 pl->period = 0; in fprop_local_init_single()
105 unsigned int period = p->period; in fprop_reflect_period_single() local
108 /* Fast path - period didn't change */ in fprop_reflect_period_single()
109 if (pl->period == period) in fprop_reflect_period_single()
112 /* Someone updated pl->period while we were spinning? */ in fprop_reflect_period_single()
113 if (pl->period >= period) { in fprop_reflect_period_single()
118 if (period - pl->period < BITS_PER_LONG) in fprop_reflect_period_single()
119 pl->events >>= period - pl->period; in fprop_reflect_period_single()
122 pl->period = period; in fprop_reflect_period_single()
175 pl->period = 0; in fprop_local_init_percpu()
188 unsigned int period = p->period; in fprop_reflect_period_percpu() local
191 /* Fast path - period didn't change */ in fprop_reflect_period_percpu()
192 if (pl->period == period) in fprop_reflect_period_percpu()
195 /* Someone updated pl->period while we were spinning? */ in fprop_reflect_period_percpu()
196 if (pl->period >= period) { in fprop_reflect_period_percpu()
201 if (period - pl->period < BITS_PER_LONG) { in fprop_reflect_period_percpu()
208 -val + (val >> (period-pl->period)), PROP_BATCH); in fprop_reflect_period_percpu()
211 pl->period = period; in fprop_reflect_period_percpu()