Searched refs:cputime (Results 1 – 5 of 5) sorted by relevance
/kernel/sched/ |
D | cputime.c | 126 void account_user_time(struct task_struct *p, u64 cputime) in account_user_time() argument 131 p->utime += cputime; in account_user_time() 132 account_group_user_time(p, cputime); in account_user_time() 137 task_group_account_field(p, index, cputime); in account_user_time() 143 cpufreq_acct_update_power(p, cputime); in account_user_time() 151 void account_guest_time(struct task_struct *p, u64 cputime) in account_guest_time() argument 156 p->utime += cputime; in account_guest_time() 157 account_group_user_time(p, cputime); in account_guest_time() 158 p->gtime += cputime; in account_guest_time() 162 task_group_account_field(p, CPUTIME_NICE, cputime); in account_guest_time() [all …]
|
D | cpuacct.c | 263 struct task_cputime cputime; in cpuacct_stats_show() local 268 memset(&cputime, 0, sizeof(cputime)); in cpuacct_stats_show() 272 cputime.utime += cpustat[CPUTIME_USER]; in cpuacct_stats_show() 273 cputime.utime += cpustat[CPUTIME_NICE]; in cpuacct_stats_show() 274 cputime.stime += cpustat[CPUTIME_SYSTEM]; in cpuacct_stats_show() 275 cputime.stime += cpustat[CPUTIME_IRQ]; in cpuacct_stats_show() 276 cputime.stime += cpustat[CPUTIME_SOFTIRQ]; in cpuacct_stats_show() 278 cputime.sum_exec_runtime += *per_cpu_ptr(ca->cpuusage, cpu); in cpuacct_stats_show() 281 cputime_adjust(&cputime, &seq_css(sf)->cgroup->prev_cputime, in cpuacct_stats_show() 334 void cpuacct_charge(struct task_struct *tsk, u64 cputime) in cpuacct_charge() argument [all …]
|
/kernel/cgroup/ |
D | rstat.c | 340 dst_bstat->cputime.utime += src_bstat->cputime.utime; in cgroup_base_stat_add() 341 dst_bstat->cputime.stime += src_bstat->cputime.stime; in cgroup_base_stat_add() 342 dst_bstat->cputime.sum_exec_runtime += src_bstat->cputime.sum_exec_runtime; in cgroup_base_stat_add() 351 dst_bstat->cputime.utime -= src_bstat->cputime.utime; in cgroup_base_stat_sub() 352 dst_bstat->cputime.stime -= src_bstat->cputime.stime; in cgroup_base_stat_sub() 353 dst_bstat->cputime.sum_exec_runtime -= src_bstat->cputime.sum_exec_runtime; in cgroup_base_stat_sub() 415 rstatc->bstat.cputime.sum_exec_runtime += delta_exec; in __cgroup_account_cputime() 430 rstatc->bstat.cputime.utime += delta_exec; in __cgroup_account_cputime_field() 435 rstatc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field() 457 struct task_cputime *cputime = &bstat->cputime; in root_cgroup_cputime() local [all …]
|
/kernel/time/ |
D | Kconfig | 155 tickless cputime accounting. The former case relies on context 173 userspace extended quiescent state and tickless cputime
|
D | posix-cpu-timers.c | 244 static inline void __update_gt_cputime(atomic64_t *cputime, u64 sum_cputime) in __update_gt_cputime() argument 248 curr_cputime = atomic64_read(cputime); in __update_gt_cputime() 250 if (atomic64_cmpxchg(cputime, curr_cputime, sum_cputime) != curr_cputime) in __update_gt_cputime()
|