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

/linux-4.1.27/drivers/oprofile/
H A Doprof.c121 unsigned long time_slice; oprofile_set_timeout() local
135 time_slice = msecs_to_jiffies(val_msec); oprofile_set_timeout()
136 if (time_slice == MAX_JIFFY_OFFSET) { oprofile_set_timeout()
141 oprofile_time_slice = time_slice; oprofile_set_timeout()
H A Doprofile_files.c196 oprofilefs_create_file(root, "time_slice", &timeout_fops); oprofile_create_files()
/linux-4.1.27/include/linux/
H A Dinit_task.h211 .time_slice = RR_TIMESLICE, \
H A Dsched.h1216 unsigned int time_slice; member in struct:sched_rt_entity
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
H A Dsched.c100 ctx->time_slice = SCALE_PRIO(DEF_SPU_TIMESLICE * 4, ctx->prio); spu_set_timeslice()
102 ctx->time_slice = SCALE_PRIO(DEF_SPU_TIMESLICE, ctx->prio); spu_set_timeslice()
934 if (--ctx->time_slice && test_bit(SPU_SCHED_SPU_RUN, &ctx->sched_flags)) spusched_tick()
948 if (!ctx->time_slice) spusched_tick()
949 ctx->time_slice++; spusched_tick()
H A Dspufs.h124 unsigned int time_slice; member in struct:spu_context
H A Dfile.c2651 ctx->time_slice, spufs_show_ctx()
/linux-4.1.27/kernel/sched/
H A Drt.c2261 if (--p->rt.time_slice) task_tick_rt()
2264 p->rt.time_slice = sched_rr_timeslice; task_tick_rt()
H A Dcore.c4481 unsigned int time_slice; SYSCALL_DEFINE2() local
4501 time_slice = 0; SYSCALL_DEFINE2()
4503 time_slice = p->sched_class->get_rr_interval(rq, p); SYSCALL_DEFINE2()
4507 jiffies_to_timespec(time_slice, &t); SYSCALL_DEFINE2()

Completed in 601 milliseconds