Home
last modified time | relevance | path

Searched refs:cputime (Results 1 – 8 of 8) sorted by relevance

/linux/kernel/sched/
H A Dcpuacct.c265 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 Dcputime.h17 #define cputime_to_nsecs(cputime) tod_to_ns(cputime) argument
/linux/arch/powerpc/include/asm/
H A Dcputime.h25 #define cputime_to_nsecs(cputime) tb_to_ns(cputime) argument
/linux/arch/s390/kernel/
H A Dvtime.c106 static void account_system_index_scaled(struct task_struct *p, u64 cputime, in account_system_index_scaled() argument
109 p->stimescaled += cputime_to_nsecs(scale_vtime(cputime)); in account_system_index_scaled()
110 account_system_index_time(p, cputime_to_nsecs(cputime), index); in account_system_index_scaled()
/linux/fs/
H A Dbinfmt_elf_fdpic.c1314 struct task_cputime cputime; in fill_prstatus() local
1320 thread_group_cputime(p, &cputime); in fill_prstatus()
1321 prstatus->pr_utime = ns_to_kernel_old_timeval(cputime.utime); in fill_prstatus()
1322 prstatus->pr_stime = ns_to_kernel_old_timeval(cputime.stime); in fill_prstatus()
H A Dbinfmt_elf.c1499 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/init/
H A DKconfig567 # Kind of a stub config for the pure tick based cputime accounting
569 bool "Simple tick based cputime accounting"
572 This is the basic tick based cputime accounting that maintains
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt6312 Provide statistics on the cputime and count of