| /linux/tools/sched_ext/include/scx/ |
| H A D | compat.bpf.h | 37 void scx_bpf_dsq_move_set_vtime___new(struct bpf_iter_scx_dsq *it__iter, u64 vtime) __ksym __weak; 43 void scx_bpf_dispatch_from_dsq_set_vtime___old(struct bpf_iter_scx_dsq *it__iter, u64 vtime) __ksym __weak; 61 #define scx_bpf_dsq_move_set_vtime(it__iter, vtime) \ 63 scx_bpf_dsq_move_set_vtime___new((it__iter), (vtime)) : \ 65 scx_bpf_dispatch_from_dsq_set_vtime___old((it__iter), (vtime)) : \ 255 void scx_bpf_dispatch_vtime___compat(struct task_struct *p, u64 dsq_id, u64 slice, u64 vtime, u64 enq_flags) __ksym __weak; in scx_bpf_select_cpu_and() 256 void scx_bpf_dsq_insert_vtime___compat(struct task_struct *p, u64 dsq_id, u64 slice, u64 vtime, u64 enq_flags) __ksym __weak; in scx_bpf_select_cpu_and() 296 * scx_bpf_dsq_insert_vtime - Insert a task into the vtime priority queue of a DSQ in scx_bpf_dsq_insert_vtime() 300 * @vtime: @p's ordering inside the vtime in scx_bpf_dsq_insert_vtime() 56 scx_bpf_dsq_move_set_vtime(it__iter,vtime) global() argument 281 scx_bpf_dsq_insert_vtime(struct task_struct * p,u64 dsq_id,u64 slice,u64 vtime,u64 enq_flags) scx_bpf_dsq_insert_vtime() argument 347 scx_bpf_task_set_dsq_vtime(struct task_struct * p,u64 vtime) scx_bpf_task_set_dsq_vtime() argument [all...] |
| /linux/include/trace/events/ |
| H A D | iocost.h | 17 u64 last_period, u64 cur_period, u64 vtime), 19 TP_ARGS(iocg, path, now, last_period, cur_period, vtime), 29 __field(u64, vtime) 44 __entry->vtime = vtime; 52 "period=%llu->%llu vtime=%llu " 57 __entry->vtime, __entry->inuse, __entry->weight, 64 u64 last_period, u64 cur_period, u64 vtime), 66 TP_ARGS(iocg, path, now, last_period, cur_period, vtime) 71 u64 last_period, u64 cur_period, u64 vtime), [all...] |
| /linux/block/ |
| H A D | bfq-wf2q.c | 117 !bfq_gt(new_entity->start, st->vtime) in bfq_update_next_in_service() 662 !bfq_gt(last_idle->finish, st->vtime)) { in bfq_forget_idle() 667 st->vtime = last_idle->finish; in bfq_forget_idle() 670 if (first_idle && !bfq_gt(first_idle->finish, st->vtime)) in bfq_forget_idle() 771 entity->start = new_st->vtime; in __bfq_entity_update_weight_prio() 804 st->vtime += bfq_delta(served, st->wsum); in bfq_bfqq_served() 902 if (backshifted && bfq_gt(st->vtime, entity->finish)) { in bfq_update_fin_time_enqueue() 903 unsigned long delta = st->vtime - entity->finish; in bfq_update_fin_time_enqueue() 935 if (non_blocking_wait_rq && bfq_gt(st->vtime, entity->finish)) { in __bfq_activate_entity() 939 min_vstart = st->vtime; in __bfq_activate_entity() [all …]
|
| H A D | bfq-iosched.h | 65 u64 vtime; member
|
| /linux/tools/testing/selftests/sched_ext/ |
| H A D | select_cpu_vtime.bpf.c | 6 * and making the test a very basic vtime scheduler. 30 u64 vtime = p->scx.dsq_vtime; in task_vtime() local 32 if (vtime_before(vtime, vtime_now - SCX_SLICE_DFL)) in task_vtime() 35 return vtime; in task_vtime()
|
| /linux/tools/cgroup/ |
| H A D | iocost_monitor.py | 157 vtime = iocg.vtime.counter.value_() 161 self.inflight_pct = (vtime - vdone) * 100 / period_vtime
|
| /linux/tools/testing/selftests/x86/ |
| H A D | test_vsyscall.c | 60 const time_func_t vtime = (time_func_t)VSYS(0xffffffffff600400); variable 185 t_vsys = vtime(&t2_vsys); in test_time() 491 vtime(&tmp); in test_emulation()
|
| /linux/arch/s390/kernel/ |
| H A D | vtime.c | 96 static inline u64 scale_vtime(u64 vtime) in scale_vtime() argument 102 return vtime * mult / div; in scale_vtime() 103 return vtime; in scale_vtime()
|
| /linux/include/linux/ |
| H A D | sched.h | 385 struct vtime { struct 1123 struct vtime vtime; member
|
| /linux/kernel/sched/ |
| H A D | ext.c | 626 * bounds the iteration and guarantees that vtime never jumps in the other 706 u64 vtime; member 1546 * starving vtime-dispatched tasks by FIFO-dispatched tasks, we in dispatch_enqueue() 1547 * disallow any internal DSQ from doing vtime ordering of in dispatch_enqueue() 1550 scx_error(sch, "cannot use vtime ordering for built-in DSQs"); in dispatch_enqueue() 1572 * that @dsq->list is vtime ordered. in dispatch_enqueue() 8228 u64 dsq_id, u64 slice, u64 vtime, u64 enq_flags) in scx_dsq_insert_vtime() 8238 p->scx.dsq_vtime = vtime; in scx_dsq_insert_vtime() 8249 u64 vtime; 8254 * __scx_bpf_dsq_insert_vtime - Arg-wrapped vtime DS 8226 scx_dsq_insert_vtime(struct scx_sched * sch,struct task_struct * p,u64 dsq_id,u64 slice,u64 vtime,u64 enq_flags) scx_dsq_insert_vtime() argument 8247 u64 vtime; global() member 8303 scx_bpf_dsq_insert_vtime(struct task_struct * p,u64 dsq_id,u64 slice,u64 vtime,u64 enq_flags) scx_bpf_dsq_insert_vtime() argument 8587 scx_bpf_dsq_move_set_vtime(struct bpf_iter_scx_dsq * it__iter,u64 vtime) scx_bpf_dsq_move_set_vtime() argument 8865 scx_bpf_task_set_dsq_vtime(struct task_struct * p,u64 vtime,const struct bpf_prog_aux * aux) scx_bpf_task_set_dsq_vtime() argument [all...] |
| /linux/kernel/ |
| H A D | fork.c | 2164 seqcount_init(&p->vtime.seqcount); in copy_process() 2165 p->vtime.starttime = 0; in copy_process() 2166 p->vtime.state = VTIME_INACTIVE; in copy_process()
|
| /linux/tools/sched_ext/ |
| H A D | README.md | 162 scx_simple can be run in either global weighted vtime mode, or FIFO mode.
|