Lines Matching refs:weight
24 * Create a struct and if it's the weighted variant set the w field (weight = 2^k).
34 * DO NOT change the weight after calling update.
107 * @weight: ewma weight
113 s64 x, bool initted, u8 weight)
116 u8 w = weight;
138 * @weight: ewma weight
141 u8 weight)
143 return fast_divpow2(s.mean, weight);
150 * @weight: ewma weight
153 u8 weight)
156 return s.variance >> weight;
163 * @weight: ewma weight
166 u8 weight)
168 return int_sqrt64(mean_and_variance_weighted_get_variance(s, weight));