Searched refs:last_input (Results 1 - 2 of 2) sorted by relevance
/linux-master/mm/damon/ |
H A D | core-test.h | 461 unsigned long last_input = 900000, current_score = 200; local 469 damon_feed_loop_next_input(last_input, current_score), 470 last_input); 478 damon_feed_loop_next_input(last_input, current_score), 479 last_input); 486 damon_feed_loop_next_input(last_input, 200), 487 damon_feed_loop_next_input(last_input, 2000));
|
H A D | core.c | 1095 * @last_input The last input. 1096 * @score Current score that made with @last_input. 1106 * next_input = max(last_input * ((goal - current) / goal + 1), 1) 1113 static unsigned long damon_feed_loop_next_input(unsigned long last_input, argument 1119 unsigned long compensation = last_input * score_goal_diff_bp / 10000; 1124 return last_input + compensation; 1125 if (last_input > compensation + min_input) 1126 return last_input - compensation;
|
Completed in 227 milliseconds