Lines Matching refs:delta

37 static void irqtime_account_delta(struct irqtime *irqtime, u64 delta,  in irqtime_account_delta()  argument
43 cpustat[idx] += delta; in irqtime_account_delta()
44 irqtime->total += delta; in irqtime_account_delta()
45 irqtime->tick_delta += delta; in irqtime_account_delta()
57 s64 delta; in irqtime_account_irq() local
64 delta = sched_clock_cpu(cpu) - irqtime->irq_start_time; in irqtime_account_irq()
65 irqtime->irq_start_time += delta; in irqtime_account_irq()
75 irqtime_account_delta(irqtime, delta, CPUTIME_IRQ); in irqtime_account_irq()
77 irqtime_account_delta(irqtime, delta, CPUTIME_SOFTIRQ); in irqtime_account_irq()
83 u64 delta; in irqtime_tick_accounted() local
85 delta = min(irqtime->tick_delta, maxtime); in irqtime_tick_accounted()
86 irqtime->tick_delta -= delta; in irqtime_tick_accounted()
88 return delta; in irqtime_tick_accounted()
240 void __account_forceidle_time(struct task_struct *p, u64 delta) in __account_forceidle_time() argument
242 __schedstat_add(p->stats.core_forceidle_sum, delta); in __account_forceidle_time()
244 task_group_account_field(p, CPUTIME_FORCEIDLE, delta); in __account_forceidle_time()
665 u64 delta = vtime_delta(vtime); in get_vtime_delta() local
675 other = account_other_time(delta); in get_vtime_delta()
677 vtime->starttime += delta; in get_vtime_delta()
679 return delta - other; in get_vtime_delta()
854 u64 delta; in task_cputime() local
875 delta = vtime_delta(vtime); in task_cputime()
882 *stime += vtime->stime + delta; in task_cputime()
884 *utime += vtime->utime + delta; in task_cputime()
1023 u64 delta; in kcpustat_cpu_fetch_vtime() local
1039 delta = vtime_delta(vtime); in kcpustat_cpu_fetch_vtime()
1046 cpustat[CPUTIME_SYSTEM] += vtime->stime + delta; in kcpustat_cpu_fetch_vtime()
1049 cpustat[CPUTIME_NICE] += vtime->utime + delta; in kcpustat_cpu_fetch_vtime()
1051 cpustat[CPUTIME_USER] += vtime->utime + delta; in kcpustat_cpu_fetch_vtime()
1055 cpustat[CPUTIME_GUEST_NICE] += vtime->gtime + delta; in kcpustat_cpu_fetch_vtime()
1056 cpustat[CPUTIME_NICE] += vtime->gtime + delta; in kcpustat_cpu_fetch_vtime()
1058 cpustat[CPUTIME_GUEST] += vtime->gtime + delta; in kcpustat_cpu_fetch_vtime()
1059 cpustat[CPUTIME_USER] += vtime->gtime + delta; in kcpustat_cpu_fetch_vtime()