Home
last modified time | relevance | path

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

/f-stack/freebsd/kern/
H A Dsched_4bsd.c99 int ts_slptime; /* Seconds !RUNNING. */ member
531 if (ts->ts_slptime > 1) { in schedcpu()
543 ts->ts_slptime = 0; in schedcpu()
545 ts->ts_slptime++; in schedcpu()
546 if (ts->ts_slptime > 1) { in schedcpu()
587 if (ts->ts_slptime > 5 * loadfac) in updatepri()
591 ts->ts_slptime--; /* was incremented in schedcpu() */ in updatepri()
592 while (newcpu && --ts->ts_slptime) in updatepri()
971 td_get_sched(td)->ts_slptime = 0; in sched_sleep()
1118 if (ts->ts_slptime > 1) { in sched_wakeup()
[all …]
H A Dsched_ule.c1544 ts->ts_runtime >= ts->ts_slptime) in sched_interact_score()
1547 if (ts->ts_runtime > ts->ts_slptime) { in sched_interact_score()
1552 if (ts->ts_slptime > ts->ts_runtime) { in sched_interact_score()
1630 sum = ts->ts_runtime + ts->ts_slptime; in sched_interact_update()
1641 ts->ts_slptime = 1; in sched_interact_update()
1643 ts->ts_slptime = SCHED_SLP_RUN_MAX; in sched_interact_update()
1655 ts->ts_slptime /= 2; in sched_interact_update()
1659 ts->ts_slptime = (ts->ts_slptime / 5) * 4; in sched_interact_update()
1676 sum = ts->ts_runtime + ts->ts_slptime; in sched_interact_fork()
1680 ts->ts_slptime /= ratio; in sched_interact_fork()
[all …]