Searched refs:mvsum (Results 1 – 2 of 2) sorted by relevance
397 unsigned int mvsum = 50000, nomvsum = 50000, len_window = 10; in damon_test_moving_sum() local404 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()
2186 static unsigned int damon_moving_sum(unsigned int mvsum, unsigned int nomvsum, in damon_moving_sum() argument2189 return mvsum - nomvsum / len_window + new_value; in damon_moving_sum()