| /linux/tools/sched_ext/include/scx/ |
| H A D | compat.bpf.h | 34 void scx_bpf_dsq_move_set_vtime___new(struct bpf_iter_scx_dsq *it__iter, u64 vtime) __ksym __weak; 40 void scx_bpf_dispatch_from_dsq_set_vtime___old(struct bpf_iter_scx_dsq *it__iter, u64 vtime) __ksym… 56 #define scx_bpf_dsq_move_set_vtime(it__iter, vtime) \ argument 58 scx_bpf_dsq_move_set_vtime___new((it__iter), (vtime)) : \ 60 scx_bpf_dispatch_from_dsq_set_vtime___old((it__iter), (vtime)) : \ 237 void scx_bpf_dispatch_vtime___compat(struct task_struct *p, u64 dsq_id, u64 slice, u64 vtime, u64 e… 238 void scx_bpf_dsq_insert_vtime___compat(struct task_struct *p, u64 dsq_id, u64 slice, u64 vtime, u64… 281 scx_bpf_dsq_insert_vtime(struct task_struct *p, u64 dsq_id, u64 slice, u64 vtime, in scx_bpf_dsq_insert_vtime() argument 288 .vtime = vtime, in scx_bpf_dsq_insert_vtime() 294 scx_bpf_dsq_insert_vtime___compat(p, dsq_id, slice, vtime, in scx_bpf_dsq_insert_vtime() [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 | 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 | 97 static inline u64 scale_vtime(u64 vtime) in scale_vtime() argument 103 return vtime * mult / div; in scale_vtime() 104 return vtime; in scale_vtime()
|
| /linux/kernel/sched/ |
| H A D | ext.c | 498 u64 vtime; member 5788 u64 dsq_id, u64 slice, u64 vtime, u64 enq_flags) in scx_dsq_insert_vtime() argument 5798 p->scx.dsq_vtime = vtime; in scx_dsq_insert_vtime() 5809 u64 vtime; member 5856 args->vtime, args->enq_flags); in __scx_bpf_dsq_insert_vtime() 5863 u64 slice, u64 vtime, u64 enq_flags) in scx_bpf_dsq_insert_vtime() argument 5873 scx_dsq_insert_vtime(sch, p, dsq_id, slice, vtime, enq_flags); in scx_bpf_dsq_insert_vtime() 5955 p->scx.dsq_vtime = kit->vtime; in scx_dsq_move() 6106 u64 vtime) in scx_bpf_dsq_move_set_vtime() argument 6110 kit->vtime = vtime; in scx_bpf_dsq_move_set_vtime() [all …]
|
| /linux/include/linux/ |
| H A D | sched.h | 383 struct vtime { struct 1120 struct vtime vtime; member
|
| /linux/kernel/ |
| H A D | fork.c | 2125 seqcount_init(&p->vtime.seqcount); in copy_process() 2126 p->vtime.starttime = 0; in copy_process() 2127 p->vtime.state = VTIME_INACTIVE; in copy_process()
|
| /linux/tools/sched_ext/ |
| H A D | README.md | 169 scx_simple can be run in either global weighted vtime mode, or FIFO mode.
|