Lines Matching defs:score
1592 * This is the core of the interactivity algorithm. Determines a score based
1602 * interactivity score = ---------------------
1610 * interactivity score = 2 * scaling factor - ---------------------
1621 * The score is only needed if this is likely to be an interactive
1656 u_int pri, score;
1661 * If the score is interactive we place the thread in the realtime
1670 * score. Negative nice values make it easier for a thread to be
1673 score = imax(0, sched_interact_score(td) + td->td_proc->p_nice);
1674 if (score < sched_interact) {
1676 pri += (PRI_MAX_INTERACT - PRI_MIN_INTERACT + 1) * score /
1679 ("sched_priority: invalid interactive priority %u score %u",
1680 pri, score));
2442 * And update interactivity score.
3313 "Interactivity score threshold");