Home
last modified time | relevance | path

Searched refs:ts_slptime (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/kern/
H A Dsched_4bsd.c97 int ts_slptime; /* Seconds !RUNNING. */ member
529 if (ts->ts_slptime > 1) { in schedcpu()
541 ts->ts_slptime = 0; in schedcpu()
543 ts->ts_slptime++; in schedcpu()
544 if (ts->ts_slptime > 1) { in schedcpu()
585 if (ts->ts_slptime > 5 * loadfac) in updatepri()
589 ts->ts_slptime--; /* was incremented in schedcpu() */ in updatepri()
590 while (newcpu && --ts->ts_slptime) in updatepri()
998 td_get_sched(td)->ts_slptime = 0; in sched_sleep()
1141 if (ts->ts_slptime > 1) { in sched_wakeup()
[all …]
H A Dsched_ule.c1626 ts->ts_runtime >= ts->ts_slptime) in sched_interact_score()
1629 if (ts->ts_runtime > ts->ts_slptime) { in sched_interact_score()
1634 if (ts->ts_slptime > ts->ts_runtime) { in sched_interact_score()
1711 sum = ts->ts_runtime + ts->ts_slptime; in sched_interact_update()
1722 ts->ts_slptime = 1; in sched_interact_update()
1724 ts->ts_slptime = SCHED_SLP_RUN_MAX; in sched_interact_update()
1736 ts->ts_slptime /= 2; in sched_interact_update()
1740 ts->ts_slptime = (ts->ts_slptime / 5) * 4; in sched_interact_update()
1757 sum = ts->ts_runtime + ts->ts_slptime; in sched_interact_fork()
1761 ts->ts_slptime /= ratio; in sched_interact_fork()
[all …]