Home
last modified time | relevance | path

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

/linux-4.1.27/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-4.1.27/arch/powerpc/platforms/cell/spufs/
Dsched.c100 ctx->time_slice = SCALE_PRIO(DEF_SPU_TIMESLICE * 4, ctx->prio); in spu_set_timeslice()
102 ctx->time_slice = SCALE_PRIO(DEF_SPU_TIMESLICE, ctx->prio); in spu_set_timeslice()
934 if (--ctx->time_slice && test_bit(SPU_SCHED_SPU_RUN, &ctx->sched_flags)) in spusched_tick()
948 if (!ctx->time_slice) in spusched_tick()
949 ctx->time_slice++; in spusched_tick()
Dspufs.h124 unsigned int time_slice; member
Dfile.c2651 ctx->time_slice, in spufs_show_ctx()
/linux-4.1.27/Documentation/block/
Dcfq-iosched.txt125 executed for a certain amount of time(time_slice) before switching to another
129 time_slice is computed using the below equation:-
130 time_slice = slice_sync + (slice_sync/5 * (4 - prio)). To increase the
131 time_slice of synchronous queue, increase the value of slice_sync. Default
/linux-4.1.27/include/linux/
Dinit_task.h211 .time_slice = RR_TIMESLICE, \
Dsched.h1216 unsigned int time_slice; member
/linux-4.1.27/kernel/sched/
Drt.c2261 if (--p->rt.time_slice) in task_tick_rt()
2264 p->rt.time_slice = sched_rr_timeslice; in task_tick_rt()
Dcore.c4481 unsigned int time_slice; in SYSCALL_DEFINE2() local
4501 time_slice = 0; in SYSCALL_DEFINE2()
4503 time_slice = p->sched_class->get_rr_interval(rq, p); in SYSCALL_DEFINE2()
4507 jiffies_to_timespec(time_slice, &t); in SYSCALL_DEFINE2()