Searched refs:new_factor (Results 1 – 1 of 1) sorted by relevance
467 unsigned int new_factor; in menu_update() local521 new_factor = data->correction_factor[data->bucket]; in menu_update()522 new_factor -= new_factor / DECAY; in menu_update()525 new_factor += div64_u64(RESOLUTION * measured_ns, in menu_update()532 new_factor += RESOLUTION; in menu_update()540 if (DECAY == 1 && unlikely(new_factor == 0)) in menu_update()541 new_factor = 1; in menu_update()543 data->correction_factor[data->bucket] = new_factor; in menu_update()