Home
last modified time | relevance | path

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

/linux/mm/damon/tests/
H A Dcore-kunit.h397 unsigned int mvsum = 50000, nomvsum = 50000, len_window = 10; in damon_test_moving_sum() local
404 mvsum = damon_moving_sum(mvsum, nomvsum, len_window, in damon_test_moving_sum()
406 KUNIT_EXPECT_EQ(test, mvsum, expects[i]); in damon_test_moving_sum()
/linux/mm/damon/
H A Dcore.c2186 static unsigned int damon_moving_sum(unsigned int mvsum, unsigned int nomvsum, in damon_moving_sum() argument
2189 return mvsum - nomvsum / len_window + new_value; in damon_moving_sum()