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()
56 s64 delta; in irqtime_account_irq() local
63 delta = sched_clock_cpu(cpu) - irqtime->irq_start_time; in irqtime_account_irq()
64 irqtime->irq_start_time += delta; in irqtime_account_irq()
73 irqtime_account_delta(irqtime, delta, CPUTIME_IRQ); in irqtime_account_irq()
75 irqtime_account_delta(irqtime, delta, CPUTIME_SOFTIRQ); in irqtime_account_irq()
77 trace_android_rvh_account_irq(curr, cpu, delta); in irqtime_account_irq()
84 u64 delta; in irqtime_tick_accounted() local
86 delta = min(irqtime->tick_delta, maxtime); in irqtime_tick_accounted()
87 irqtime->tick_delta -= delta; in irqtime_tick_accounted()
89 return delta; in irqtime_tick_accounted()
664 u64 delta = vtime_delta(vtime); in get_vtime_delta() local
674 other = account_other_time(delta); in get_vtime_delta()
676 vtime->starttime += delta; in get_vtime_delta()
678 return delta - other; in get_vtime_delta()
853 u64 delta; in task_cputime() local
871 delta = vtime_delta(vtime); in task_cputime()
878 *stime += vtime->stime + delta; in task_cputime()
880 *utime += vtime->utime + delta; in task_cputime()
1017 u64 delta; in kcpustat_cpu_fetch_vtime() local
1033 delta = vtime_delta(vtime); in kcpustat_cpu_fetch_vtime()
1040 cpustat[CPUTIME_SYSTEM] += vtime->stime + delta; in kcpustat_cpu_fetch_vtime()
1043 cpustat[CPUTIME_NICE] += vtime->utime + delta; in kcpustat_cpu_fetch_vtime()
1045 cpustat[CPUTIME_USER] += vtime->utime + delta; in kcpustat_cpu_fetch_vtime()
1049 cpustat[CPUTIME_GUEST_NICE] += vtime->gtime + delta; in kcpustat_cpu_fetch_vtime()
1050 cpustat[CPUTIME_NICE] += vtime->gtime + delta; in kcpustat_cpu_fetch_vtime()
1052 cpustat[CPUTIME_GUEST] += vtime->gtime + delta; in kcpustat_cpu_fetch_vtime()
1053 cpustat[CPUTIME_USER] += vtime->gtime + delta; in kcpustat_cpu_fetch_vtime()