Searched refs:cputime (Results 1 – 7 of 7) sorted by relevance
/kernel/sched/ |
D | cputime.c | 152 void account_user_time(struct task_struct *p, cputime_t cputime, in account_user_time() argument 158 p->utime += cputime; in account_user_time() 160 account_group_user_time(p, cputime); in account_user_time() 165 task_group_account_field(p, index, (__force u64) cputime); in account_user_time() 172 acct_update_power(p, cputime); in account_user_time() 182 static void account_guest_time(struct task_struct *p, cputime_t cputime, in account_guest_time() argument 188 p->utime += cputime; in account_guest_time() 190 account_group_user_time(p, cputime); in account_guest_time() 191 p->gtime += cputime; in account_guest_time() 195 cpustat[CPUTIME_NICE] += (__force u64) cputime; in account_guest_time() [all …]
|
D | stats.h | 211 cputime_t cputime) in account_group_user_time() argument 219 cputimer->cputime.utime += cputime; in account_group_user_time() 234 cputime_t cputime) in account_group_system_time() argument 242 cputimer->cputime.stime += cputime; in account_group_system_time() 265 cputimer->cputime.sum_exec_runtime += ns; in account_group_exec_runtime()
|
D | cpuacct.h | 3 extern void cpuacct_charge(struct task_struct *tsk, u64 cputime); 8 static inline void cpuacct_charge(struct task_struct *tsk, u64 cputime) in cpuacct_charge() argument
|
D | cpuacct.c | 235 void cpuacct_charge(struct task_struct *tsk, u64 cputime) in cpuacct_charge() argument 248 *cpuusage += cputime; in cpuacct_charge()
|
D | Makefile | 18 obj-y += core.o loadavg.o clock.o cputime.o
|
/kernel/time/ |
D | posix-cpu-timers.c | 24 cputime_t cputime = secs_to_cputime(rlim_new); in update_rlimit_cpu() local 27 set_process_cpu_timer(task, CPUCLOCK_PROF, &cputime, NULL); in update_rlimit_cpu() 119 static inline int task_cputime_zero(const struct task_cputime *cputime) in task_cputime_zero() argument 121 if (!cputime->utime && !cputime->stime && !cputime->sum_exec_runtime) in task_cputime_zero() 227 update_gt_cputime(&cputimer->cputime, &sum); in thread_group_cputimer() 230 *times = cputimer->cputime; in thread_group_cputimer() 243 struct task_cputime cputime; in cpu_clock_sample_group() local 249 thread_group_cputime(p, &cputime); in cpu_clock_sample_group() 250 *sample = cputime_to_expires(cputime.utime + cputime.stime); in cpu_clock_sample_group() 253 thread_group_cputime(p, &cputime); in cpu_clock_sample_group() [all …]
|
D | itimer.c | 56 struct task_cputime cputime; in get_cpu_itimer() local 59 thread_group_cputimer(tsk, &cputime); in get_cpu_itimer() 61 t = cputime.utime + cputime.stime; in get_cpu_itimer() 64 t = cputime.utime; in get_cpu_itimer()
|