Lines Matching refs:cputime
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()
254 *sample = cputime_to_expires(cputime.utime); in cpu_clock_sample_group()
257 thread_group_cputime(p, &cputime); in cpu_clock_sample_group()
258 *sample = cputime.sum_exec_runtime; in cpu_clock_sample_group()
543 struct task_cputime cputime; in cpu_timer_sample_group() local
545 thread_group_cputimer(p, &cputime); in cpu_timer_sample_group()
550 *sample = cputime_to_expires(cputime.utime + cputime.stime); in cpu_timer_sample_group()
553 *sample = cputime_to_expires(cputime.utime); in cpu_timer_sample_group()
556 *sample = cputime.sum_exec_runtime; in cpu_timer_sample_group()
939 struct task_cputime cputime; in check_process_timers() local
945 thread_group_cputimer(tsk, &cputime); in check_process_timers()
946 utime = cputime_to_expires(cputime.utime); in check_process_timers()
947 ptime = utime + cputime_to_expires(cputime.stime); in check_process_timers()
948 sum_sched_runtime = cputime.sum_exec_runtime; in check_process_timers()
1118 group_sample = sig->cputimer.cputime; in fastpath_timer_check()