Home
last modified time | relevance | path

Searched refs:time_slice (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/oprofile/
Doprof.c121 unsigned long time_slice; in oprofile_set_timeout() local
135 time_slice = msecs_to_jiffies(val_msec); in oprofile_set_timeout()
136 if (time_slice == MAX_JIFFY_OFFSET) { in oprofile_set_timeout()
141 oprofile_time_slice = time_slice; in oprofile_set_timeout()
/Linux-v4.19/arch/powerpc/platforms/cell/spufs/
Dsched.c101 ctx->time_slice = SCALE_PRIO(DEF_SPU_TIMESLICE * 4, ctx->prio); in spu_set_timeslice()
103 ctx->time_slice = SCALE_PRIO(DEF_SPU_TIMESLICE, ctx->prio); in spu_set_timeslice()
935 if (--ctx->time_slice && test_bit(SPU_SCHED_SPU_RUN, &ctx->sched_flags)) in spusched_tick()
949 if (!ctx->time_slice) in spusched_tick()
950 ctx->time_slice++; in spusched_tick()
Dspufs.h122 unsigned int time_slice; member
Dfile.c2543 ctx->time_slice, in spufs_show_ctx()
/Linux-v4.19/init/
Dinit_task.c86 .time_slice = RR_TIMESLICE,
/Linux-v4.19/Documentation/block/
Dcfq-iosched.txt124 executed for a certain amount of time(time_slice) before switching to another
128 time_slice is computed using the below equation:-
129 time_slice = slice_sync + (slice_sync/5 * (4 - prio)). To increase the
130 time_slice of synchronous queue, increase the value of slice_sync. Default
/Linux-v4.19/kernel/sched/
Dcore.c2166 p->rt.time_slice = sched_rr_timeslice; in __sched_fork()
5201 unsigned int time_slice; in sched_rr_get_interval() local
5220 time_slice = 0; in sched_rr_get_interval()
5222 time_slice = p->sched_class->get_rr_interval(rq, p); in sched_rr_get_interval()
5226 jiffies_to_timespec64(time_slice, t); in sched_rr_get_interval()
Drt.c2338 if (--p->rt.time_slice) in task_tick_rt()
2341 p->rt.time_slice = sched_rr_timeslice; in task_tick_rt()
/Linux-v4.19/include/linux/
Dsched.h487 unsigned int time_slice; member