Lines Matching refs:len_window
1774 * @mvsum: Inferred sum of the last @len_window values.
1775 * @nomvsum: Non-moving sum of the last discrete @len_window window values.
1776 * @len_window: The number of last values to take care of.
1785 * assumed past value to drop from @nomvsum and @len_window. @nomvsum is a
1786 * non-moving sum of the last window. For example, if @len_window is 10 and we
1788 * values. Hence, this function simply drops @nomvsum / @len_window from
1791 * For example, if @len_window is 10 and @nomvsum is 50, the last 10 values for
1800 * for every @len_window aligned calls. For example, if @len_window is 10, the
1807 unsigned int len_window, unsigned int new_value)
1809 return mvsum - nomvsum / len_window + new_value;
1826 unsigned int len_window = 1;
1833 len_window = damon_max_nr_accesses(attrs);
1835 r->last_nr_accesses * 10000, len_window,