Searched refs:vtime (Results 1 - 20 of 20) sorted by relevance

/linux-master/kernel/sched/
H A Dcputime.c652 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 Dbuild_policy.c30 #include <linux/vtime.h>
H A Dcore.c65 #include <linux/vtime.h>
/linux-master/include/trace/events/
H A Diocost.h17 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 Dbfq-wf2q.c117 !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 Dblk-iocost.c51 * 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 Dbfq-iosched.h65 u64 vtime; member in struct:bfq_service_tree
/linux-master/include/linux/
H A Dhardirq.h10 #include <linux/vtime.h>
H A Dcontext_tracking.h6 #include <linux/vtime.h>
H A Dvtime.h9 #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 Dkernel_stat.h11 #include <linux/vtime.h>
H A Dsched.h355 struct vtime { struct
1037 struct vtime vtime; member in struct:task_struct
/linux-master/init/
H A Dinit_task.c168 .vtime.seqcount = SEQCNT_ZERO(init_task.vtime_seqcount),
169 .vtime.starttime = 0,
170 .vtime.state = VTIME_SYS,
/linux-master/tools/cgroup/
H A Diocost_monitor.py157 vtime = iocg.vtime.counter.value_()
161 self.inflight_pct = (vtime - vdone) * 100 / period_vtime
/linux-master/arch/s390/kernel/
H A Dvtime.c18 #include <asm/vtime.h>
104 static inline u64 scale_vtime(u64 vtime) argument
110 return vtime * mult / div;
111 return vtime;
H A Dsyscall.c37 #include <asm/vtime.h>
H A DMakefile37 obj-y := head64.o traps.o time.o process.o earlypgm.o early.o setup.o idle.o vtime.o
H A Dtraps.c31 #include <asm/vtime.h>
/linux-master/tools/testing/selftests/x86/
H A Dtest_vsyscall.c65 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 Dfork.c2293 seqcount_init(&p->vtime.seqcount);
2294 p->vtime.starttime = 0;
2295 p->vtime.state = VTIME_INACTIVE;

Completed in 235 milliseconds