Searched refs:cputimer (Results 1 – 5 of 5) sorted by relevance
280 struct thread_group_cputimer *cputimer = &tsk->signal->cputimer; in account_group_user_time() local282 if (!cputimer->running) in account_group_user_time()285 spin_lock(&cputimer->lock); in account_group_user_time()286 cputimer->cputime.utime = in account_group_user_time()287 cputime_add(cputimer->cputime.utime, cputime); in account_group_user_time()288 spin_unlock(&cputimer->lock); in account_group_user_time()304 struct thread_group_cputimer *cputimer = &tsk->signal->cputimer; in account_group_system_time() local306 if (!cputimer->running) in account_group_system_time()309 spin_lock(&cputimer->lock); in account_group_system_time()310 cputimer->cputime.stime = in account_group_system_time()[all …]
273 struct thread_group_cputimer *cputimer = &tsk->signal->cputimer; in thread_group_cputimer() local277 spin_lock_irqsave(&cputimer->lock, flags); in thread_group_cputimer()278 if (!cputimer->running) { in thread_group_cputimer()279 cputimer->running = 1; in thread_group_cputimer()287 update_gt_cputime(&cputimer->cputime, &sum); in thread_group_cputimer()289 *times = cputimer->cputime; in thread_group_cputimer()290 spin_unlock_irqrestore(&cputimer->lock, flags); in thread_group_cputimer()997 struct thread_group_cputimer *cputimer = &sig->cputimer; in stop_process_timers() local1000 spin_lock_irqsave(&cputimer->lock, flags); in stop_process_timers()1001 cputimer->running = 0; in stop_process_timers()[all …]
887 sig->cputimer.running = 1; in posix_cpu_timers_init_group()
34 .cputimer = { \37 .lock = __SPIN_LOCK_UNLOCKED(sig.cputimer.lock), \
572 struct thread_group_cputimer cputimer; member2480 spin_lock_init(&sig->cputimer.lock); in thread_group_cputime_init()