Searched refs:mvsum (Results 1 - 2 of 2) sorted by relevance

/linux-master/mm/damon/
H A Dcore-test.h374 unsigned int mvsum = 50000, nomvsum = 50000, len_window = 10; local
381 mvsum = damon_moving_sum(mvsum, nomvsum, len_window,
383 KUNIT_EXPECT_EQ(test, mvsum, expects[i]);
H A Dcore.c1772 * @mvsum: Inferred sum of the last @len_window values.
1787 * given @mvsum and add @new_value.
1804 static unsigned int damon_moving_sum(unsigned int mvsum, unsigned int nomvsum, argument
1807 return mvsum - nomvsum / len_window + new_value;

Completed in 98 milliseconds