/linux-master/kernel/sched/ |
H A D | cputime.c | 652 static u64 vtime_delta(struct vtime *vtime) argument 657 if (clock < vtime->starttime) 660 return clock - vtime->starttime; 663 static u64 get_vtime_delta(struct vtime *vtime) argument 665 u64 delta = vtime_delta(vtime); 669 * Unlike tick based timing, vtime based timing never has lost 673 * errors from causing elapsed vtime to go negative. 676 WARN_ON_ONCE(vtime 682 vtime_account_system(struct task_struct *tsk, struct vtime *vtime) argument 692 vtime_account_guest(struct task_struct *tsk, struct vtime *vtime) argument 702 __vtime_account_kernel(struct task_struct *tsk, struct vtime *vtime) argument 714 struct vtime *vtime = &tsk->vtime; local 726 struct vtime *vtime = &tsk->vtime; local 736 struct vtime *vtime = &tsk->vtime; local 750 struct vtime *vtime = &tsk->vtime; local 768 struct vtime *vtime = &tsk->vtime; local 785 struct vtime *vtime = &prev->vtime; local 812 struct vtime *vtime = &t->vtime; local 826 struct vtime *vtime = &t->vtime; local 852 struct vtime *vtime = &t->vtime; local 890 vtime_state_fetch(struct vtime *vtime, int cpu) argument 916 kcpustat_user_vtime(struct vtime *vtime) argument 930 struct vtime *vtime = &tsk->vtime; local 1018 struct vtime *vtime = &tsk->vtime; local [all...] |
H A D | build_policy.c | 30 #include <linux/vtime.h>
|
H A D | core.c | 65 #include <linux/vtime.h>
|
/linux-master/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-master/block/ |
H A D | bfq-wf2q.c | 117 !bfq_gt(new_entity->start, st->vtime) 662 !bfq_gt(last_idle->finish, st->vtime)) { 664 * Forget the whole idle tree, increasing the vtime past 667 st->vtime = last_idle->finish; 670 if (first_idle && !bfq_gt(first_idle->finish, st->vtime)) 746 * when entity->finish <= old_st->vtime). 771 entity->start = new_st->vtime; 804 st->vtime += bfq_delta(served, st->wsum); 902 if (backshifted && bfq_gt(st->vtime, entity->finish)) { 903 unsigned long delta = st->vtime 1296 bfq_first_active_entity(struct bfq_service_tree *st, u64 vtime) argument [all...] |
H A D | blk-iocost.c | 51 * The device virtual time (vtime) is used as the primary control metric. 73 * A given cgroup's vtime runs slower in inverse proportion to its hweight. 75 * against the device vtime - an IO which takes 10ms on the underlying 79 * vtime is running at a rate determined by its hweight. A cgroup tracks 80 * the vtime consumed by past IOs and can issue a new IO if doing so 81 * wouldn't outrun the current device vtime. Otherwise, the IO is 82 * suspended until the vtime has progressed enough to cover it. 97 * To slow down, we lower the vrate - the rate at which the device vtime 98 * passes compared to the wall clock. For example, if the vtime is running 144 * snapback mechanism in case the cgroup needs more IO vtime fo 504 atomic64_t vtime; member in struct:ioc_gq 1265 u64 vtime, vtarget; local 1747 u64 vtime = atomic64_read(&iocg->vtime); local 2202 u64 vtime = atomic64_read(&iocg->vtime); local 2274 u64 vdone, vtime, usage_us; local 2460 adjust_inuse_and_calc_cost(struct ioc_gq *iocg, u64 vtime, u64 abs_cost, struct ioc_now *now) argument 2606 u64 abs_cost, cost, vtime; local 2741 u64 vtime, abs_cost, cost; local [all...] |
H A D | bfq-iosched.h | 65 u64 vtime; member in struct:bfq_service_tree
|
/linux-master/include/linux/ |
H A D | hardirq.h | 10 #include <linux/vtime.h>
|
H A D | context_tracking.h | 6 #include <linux/vtime.h>
|
H A D | vtime.h | 9 #include <asm/vtime.h> 13 * Common vtime APIs 70 * Checks if vtime is enabled on some CPU. Cputime readers want to be careful 72 * For now vtime state is tied to context tracking. We might want to decouple
|
H A D | kernel_stat.h | 11 #include <linux/vtime.h>
|
H A D | sched.h | 355 struct vtime { struct 1037 struct vtime vtime; member in struct:task_struct
|
/linux-master/init/ |
H A D | init_task.c | 168 .vtime.seqcount = SEQCNT_ZERO(init_task.vtime_seqcount), 169 .vtime.starttime = 0, 170 .vtime.state = VTIME_SYS,
|
/linux-master/tools/cgroup/ |
H A D | iocost_monitor.py | 157 vtime = iocg.vtime.counter.value_() 161 self.inflight_pct = (vtime - vdone) * 100 / period_vtime
|
/linux-master/arch/s390/kernel/ |
H A D | vtime.c | 18 #include <asm/vtime.h> 104 static inline u64 scale_vtime(u64 vtime) argument 110 return vtime * mult / div; 111 return vtime;
|
H A D | syscall.c | 37 #include <asm/vtime.h>
|
H A D | Makefile | 37 obj-y := head64.o traps.o time.o process.o earlypgm.o early.o setup.o idle.o vtime.o
|
H A D | traps.c | 31 #include <asm/vtime.h>
|
/linux-master/tools/testing/selftests/x86/ |
H A D | test_vsyscall.c | 65 const time_func_t vtime = (time_func_t)VSYS(0xffffffffff600400); variable 275 t_vsys = vtime(&t2_vsys); 535 vtime(&tmp);
|
/linux-master/kernel/ |
H A D | fork.c | 2293 seqcount_init(&p->vtime.seqcount); 2294 p->vtime.starttime = 0; 2295 p->vtime.state = VTIME_INACTIVE;
|