Lines Matching refs:delta
26 u64 now_ns, delta; in bacct_add_tsk() local
34 delta = now_ns - tsk->group_leader->start_time; in bacct_add_tsk()
36 do_div(delta, NSEC_PER_USEC); in bacct_add_tsk()
37 stats->ac_tgetime = delta; in bacct_add_tsk()
38 delta = now_ns - tsk->start_time; in bacct_add_tsk()
39 do_div(delta, NSEC_PER_USEC); in bacct_add_tsk()
40 stats->ac_etime = delta; in bacct_add_tsk()
42 btime = ktime_get_real_seconds() - div_u64(delta, USEC_PER_SEC); in bacct_add_tsk()
127 u64 time, delta; in __acct_update_integrals() local
133 delta = time - tsk->acct_timexpd; in __acct_update_integrals()
135 if (delta < TICK_NSEC) in __acct_update_integrals()
144 tsk->acct_rss_mem1 += delta * get_mm_rss(tsk->mm) >> 10; in __acct_update_integrals()
145 tsk->acct_vm_mem1 += delta * READ_ONCE(tsk->mm->total_vm) >> 10; in __acct_update_integrals()