Searched refs:cputime (Results 1 – 14 of 14) sorted by relevance
| /linux/kernel/cgroup/ |
| H A D | rstat.c | 542 dst_bstat->cputime.utime += src_bstat->cputime.utime; in cgroup_base_stat_add() 543 dst_bstat->cputime.stime += src_bstat->cputime.stime; in cgroup_base_stat_add() 544 dst_bstat->cputime.sum_exec_runtime += src_bstat->cputime.sum_exec_runtime; in cgroup_base_stat_add() 554 dst_bstat->cputime.utime -= src_bstat->cputime.utime; in cgroup_base_stat_sub() 555 dst_bstat->cputime.stime -= src_bstat->cputime.stime; in cgroup_base_stat_sub() 556 dst_bstat->cputime.sum_exec_runtime -= src_bstat->cputime.sum_exec_runtime; in cgroup_base_stat_sub() 627 rstatbc->bstat.cputime.sum_exec_runtime += delta_exec; in __cgroup_account_cputime() 644 rstatbc->bstat.cputime.utime += delta_exec; in __cgroup_account_cputime_field() 649 rstatbc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field() 671 struct task_cputime *cputime = &bstat->cputime; in root_cgroup_cputime() local [all …]
|
| /linux/kernel/sched/ |
| H A D | cpuacct.c | 265 struct task_cputime cputime; in cpuacct_stats_show() local 270 memset(&cputime, 0, sizeof(cputime)); in cpuacct_stats_show() 274 cputime.utime += cpustat[CPUTIME_USER]; in cpuacct_stats_show() 275 cputime.utime += cpustat[CPUTIME_NICE]; in cpuacct_stats_show() 276 cputime.stime += cpustat[CPUTIME_SYSTEM]; in cpuacct_stats_show() 277 cputime.stime += cpustat[CPUTIME_IRQ]; in cpuacct_stats_show() 278 cputime.stime += cpustat[CPUTIME_SOFTIRQ]; in cpuacct_stats_show() 280 cputime.sum_exec_runtime += *per_cpu_ptr(ca->cpuusage, cpu); in cpuacct_stats_show() 283 cputime_adjust(&cputime, &seq_css(sf)->cgroup->prev_cputime, in cpuacct_stats_show() 336 void cpuacct_charge(struct task_struct *tsk, u64 cputime) in cpuacct_charge() argument [all …]
|
| /linux/arch/s390/include/asm/ |
| H A D | cputime.h | 17 #define cputime_to_nsecs(cputime) tod_to_ns(cputime) argument
|
| /linux/arch/powerpc/include/asm/ |
| H A D | cputime.h | 25 #define cputime_to_nsecs(cputime) tb_to_ns(cputime) argument
|
| /linux/arch/s390/kernel/ |
| H A D | vtime.c | 107 static void account_system_index_scaled(struct task_struct *p, u64 cputime, in account_system_index_scaled() argument 110 p->stimescaled += cputime_to_nsecs(scale_vtime(cputime)); in account_system_index_scaled() 111 account_system_index_time(p, cputime_to_nsecs(cputime), index); in account_system_index_scaled()
|
| /linux/fs/ocfs2/cluster/ |
| H A D | heartbeat.c | 711 u64 cputime; in o2hb_prepare_block() local 721 cputime = ktime_get_real_seconds(); in o2hb_prepare_block() 722 if (!cputime) in o2hb_prepare_block() 723 cputime = 1; in o2hb_prepare_block() 725 hb_block->hb_seq = cpu_to_le64(cputime); in o2hb_prepare_block() 895 u64 cputime; in o2hb_check_slot() local 940 cputime = le64_to_cpu(hb_block->hb_seq); in o2hb_check_slot() 941 if (slot->ds_last_time != cputime) in o2hb_check_slot() 945 slot->ds_last_time = cputime; in o2hb_check_slot()
|
| /linux/kernel/time/ |
| H A D | Kconfig | 155 tickless cputime accounting. The former case relies on context 173 userspace extended quiescent state and tickless cputime
|
| /linux/include/linux/ |
| H A D | cgroup.h | 725 void cpuacct_charge(struct task_struct *tsk, u64 cputime); 728 static inline void cpuacct_charge(struct task_struct *tsk, u64 cputime) {} in cpuacct_charge() argument
|
| H A D | cgroup-defs.h | 363 struct task_cputime cputime; member
|
| /linux/fs/ |
| H A D | binfmt_elf_fdpic.c | 1308 struct task_cputime cputime; in fill_prstatus() local 1314 thread_group_cputime(p, &cputime); in fill_prstatus() 1315 prstatus->pr_utime = ns_to_kernel_old_timeval(cputime.utime); in fill_prstatus() 1316 prstatus->pr_stime = ns_to_kernel_old_timeval(cputime.stime); in fill_prstatus()
|
| H A D | binfmt_elf.c | 1499 struct task_cputime cputime; in fill_prstatus() local 1505 thread_group_cputime(p, &cputime); in fill_prstatus() 1506 prstatus->pr_utime = ns_to_kernel_old_timeval(cputime.utime); in fill_prstatus() 1507 prstatus->pr_stime = ns_to_kernel_old_timeval(cputime.stime); in fill_prstatus()
|
| /linux/kernel/rcu/ |
| H A D | Kconfig.debug | 146 (hard interrupts, soft interrupts, task switches) and the cputime of
|
| /linux/init/ |
| H A D | Kconfig | 558 # Kind of a stub config for the pure tick based cputime accounting 560 bool "Simple tick based cputime accounting" 563 This is the basic tick based cputime accounting that maintains
|
| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.txt | 6317 Provide statistics on the cputime and count of
|