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
83 p->period += periods;
97 pl->period = 0;
109 unsigned int period = p->period;
112 /* Fast path - period didn't change */
113 if (pl->period == period)
116 /* Someone updated pl->period while we were spinning? */
117 if (pl->period >= period) {
122 if (period - pl->period < BITS_PER_LONG)
123 pl->events >>= period - pl->period;
126 pl->period = period;
179 pl->period = 0;
192 unsigned int period = p->period;
195 /* Fast path - period didn't change */
196 if (pl->period == period)
199 /* Someone updated pl->period while we were spinning? */
200 if (pl->period >= period) {
205 if (period - pl->period < BITS_PER_LONG) {
212 -val + (val >> (period-pl->period)), PROP_BATCH);
215 pl->period = period;