Lines Matching defs:nice

98  *    decay rate of processes based on their nice value.  Entries in this
125 * the next seconds worth of nice-adjusted time for the project.
218 * using the fss_nice_tick array entry for the thread's nice value. The idea
220 * positive nice values (so that it doesn't increase the project's usage
229 * - FSS_TICK_COST is 1000, the tick cost for threads with nice level 0
316 #define FSS_TICK_COST 1000 /* tick cost for threads with nice level = 0 */
327 #define FSS_DECAY_MIN 83 /* fsspri decay pct for threads w/ nice -20 */
328 #define FSS_DECAY_MAX 108 /* fsspri decay pct for threads w/ nice +19 */
869 * The cost of a tick is lower at positive nice values (so that it
872 * The fsspri decay is slower at positive nice values. fsspri values
873 * of processes with negative nice levels must decay faster to receive
1093 * nice tick value.
1985 char nice;
2027 * Set fss_nice to the nice value corresponding to the user priority we
2028 * are setting. Note that setting the nice field of the parameter
2029 * struct won't affect upri or nice.
2031 nice = NZERO - (reqfssupri * NZERO) / fss_maxupri;
2032 if (nice > FSS_NICE_MAX)
2033 nice = FSS_NICE_MAX;
2039 fssproc->fss_nice = nice;
2651 * fss_donice() is called when a nice(1) command is issued on the thread to
2652 * alter the priority. The nice(1) command exists in Solaris for compatibility.
2675 * Specifying a nice increment greater than the upper limit of
2676 * FSS_NICE_MAX (== 2 * NZERO - 1) will result in the thread's nice
2701 * determines the nice value from the user priority and we may have
2702 * truncated during the integer conversion from nice value to user