Lines Matching refs: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;
57 * Declare @periods new periods. It is upto the caller to make sure period
79 p->period += periods;
93 pl->period = 0;
105 unsigned int period = p->period;
108 /* Fast path - period didn't change */
109 if (pl->period == period)
112 /* Someone updated pl->period while we were spinning? */
113 if (pl->period >= period) {
118 if (period - pl->period < BITS_PER_LONG)
119 pl->events >>= period - pl->period;
122 pl->period = period;
175 pl->period = 0;
188 unsigned int period = p->period;
191 /* Fast path - period didn't change */
192 if (pl->period == period)
195 /* Someone updated pl->period while we were spinning? */
196 if (pl->period >= period) {
201 if (period - pl->period < BITS_PER_LONG) {
208 -val + (val >> (period-pl->period)), PROP_BATCH);
211 pl->period = period;