Searched refs:nomvsum (Results 1 - 2 of 2) sorted by relevance
/linux-master/mm/damon/ |
H A D | core-test.h | 374 unsigned int mvsum = 50000, nomvsum = 50000, len_window = 10; local 381 mvsum = damon_moving_sum(mvsum, nomvsum, len_window,
|
H A D | core.c | 1773 * @nomvsum: Non-moving sum of the last discrete @len_window window values. 1783 * assumed past value to drop from @nomvsum and @len_window. @nomvsum is a 1785 * have 25 values, @nomvsum is the sum of the 11th to 20th values of the 25 1786 * values. Hence, this function simply drops @nomvsum / @len_window from 1789 * For example, if @len_window is 10 and @nomvsum is 50, the last 10 values for 1804 static unsigned int damon_moving_sum(unsigned int mvsum, unsigned int nomvsum, argument 1807 return mvsum - nomvsum / len_window + new_value;
|
Completed in 117 milliseconds