| /OK3568_Linux_fs/kernel/kernel/cgroup/ |
| H A D | rstat.c | 299 dst_bstat->cputime.utime += src_bstat->cputime.utime; in cgroup_base_stat_add() 300 dst_bstat->cputime.stime += src_bstat->cputime.stime; in cgroup_base_stat_add() 301 dst_bstat->cputime.sum_exec_runtime += src_bstat->cputime.sum_exec_runtime; in cgroup_base_stat_add() 307 dst_bstat->cputime.utime -= src_bstat->cputime.utime; in cgroup_base_stat_sub() 308 dst_bstat->cputime.stime -= src_bstat->cputime.stime; in cgroup_base_stat_sub() 309 dst_bstat->cputime.sum_exec_runtime -= src_bstat->cputime.sum_exec_runtime; in cgroup_base_stat_sub() 322 cur.cputime = rstatc->bstat.cputime; in cgroup_base_stat_flush() 363 rstatc->bstat.cputime.sum_exec_runtime += delta_exec; in __cgroup_account_cputime() 377 rstatc->bstat.cputime.utime += delta_exec; in __cgroup_account_cputime_field() 382 rstatc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/sched/ |
| H A D | cputime.c | 122 void account_user_time(struct task_struct *p, u64 cputime) in account_user_time() argument 127 p->utime += cputime; in account_user_time() 128 account_group_user_time(p, cputime); in account_user_time() 133 task_group_account_field(p, index, cputime); in account_user_time() 139 cpufreq_acct_update_power(p, cputime); in account_user_time() 147 void account_guest_time(struct task_struct *p, u64 cputime) in account_guest_time() argument 152 p->utime += cputime; in account_guest_time() 153 account_group_user_time(p, cputime); in account_guest_time() 154 p->gtime += cputime; in account_guest_time() 158 task_group_account_field(p, CPUTIME_NICE, cputime); in account_guest_time() [all …]
|
| H A D | Makefile | 25 obj-y += core.o loadavg.o clock.o cputime.o
|
| H A D | cpuacct.c | 339 void cpuacct_charge(struct task_struct *tsk, u64 cputime) in cpuacct_charge() argument 351 __this_cpu_add(ca->cpuusage->usages[index], cputime); in cpuacct_charge()
|
| /OK3568_Linux_fs/kernel/arch/s390/include/asm/ |
| H A D | cputime.h | 24 static inline u64 cputime_to_usecs(const u64 cputime) in cputime_to_usecs() argument 26 return cputime >> 12; in cputime_to_usecs() 32 #define cputime_to_nsecs(cputime) tod_to_ns(cputime) argument
|
| /OK3568_Linux_fs/kernel/drivers/cpufreq/ |
| H A D | cpufreq_times.c | 108 u64 cputime; in proc_time_in_state_show() local 122 cputime = 0; in proc_time_in_state_show() 125 cputime = p->time_in_state[freqs->offset + i]; in proc_time_in_state_show() 127 (unsigned long)nsec_to_clock_t(cputime)); in proc_time_in_state_show() 134 void cpufreq_acct_update_power(struct task_struct *p, u64 cputime) in cpufreq_acct_update_power() argument 148 p->time_in_state[state] += cputime; in cpufreq_acct_update_power() 151 trace_android_vh_cpufreq_acct_update_power(cputime, p, state); in cpufreq_acct_update_power()
|
| /OK3568_Linux_fs/kernel/include/linux/sched/ |
| H A D | cputime.h | 128 u64 cputime) in account_group_user_time() argument 135 atomic64_add(cputime, &cputimer->cputime_atomic.utime); in account_group_user_time() 149 u64 cputime) in account_group_system_time() argument 156 atomic64_add(cputime, &cputimer->cputime_atomic.stime); in account_group_system_time()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | cpufreq_times.h | 28 void cpufreq_acct_update_power(struct task_struct *p, u64 cputime); 37 u64 cputime) {} in cpufreq_acct_update_power() argument
|
| H A D | cgroup.h | 774 void cpuacct_charge(struct task_struct *tsk, u64 cputime); 777 static inline void cpuacct_charge(struct task_struct *tsk, u64 cputime) {} in cpuacct_charge() argument
|
| H A D | cgroup-defs.h | 293 struct task_cputime cputime; member
|
| /OK3568_Linux_fs/kernel/include/trace/hooks/ |
| H A D | cpufreq.h | 28 TP_PROTO(u64 cputime, struct task_struct *p, unsigned int state), 29 TP_ARGS(cputime, p, state));
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | cputime.h | 39 #define cputime_to_nsecs(cputime) tb_to_ns((__force u64)cputime) argument
|
| /OK3568_Linux_fs/kernel/arch/s390/kernel/ |
| H A D | vtime.c | 114 static void account_system_index_scaled(struct task_struct *p, u64 cputime, in account_system_index_scaled() argument 117 p->stimescaled += cputime_to_nsecs(scale_vtime(cputime)); in account_system_index_scaled() 118 account_system_index_time(p, cputime_to_nsecs(cputime), index); in account_system_index_scaled()
|
| /OK3568_Linux_fs/kernel/fs/ocfs2/cluster/ |
| H A D | heartbeat.c | 710 u64 cputime; in o2hb_prepare_block() local 720 cputime = ktime_get_real_seconds(); in o2hb_prepare_block() 721 if (!cputime) in o2hb_prepare_block() 722 cputime = 1; in o2hb_prepare_block() 724 hb_block->hb_seq = cpu_to_le64(cputime); in o2hb_prepare_block() 894 u64 cputime; in o2hb_check_slot() local 939 cputime = le64_to_cpu(hb_block->hb_seq); in o2hb_check_slot() 940 if (slot->ds_last_time != cputime) in o2hb_check_slot() 944 slot->ds_last_time = cputime; in o2hb_check_slot()
|
| /OK3568_Linux_fs/buildroot/boot/grub2/ |
| H A D | 0034-efi-Move-the-shim_lock-verifier-to-the-GRUB-core.patch | 8652 …ws/dl.c osdep/linux/emunet.c osdep/basic/emunet.c osdep/unix/cputime.c osdep/windows/cputime.c ker… 8655 …ws/dl.c osdep/linux/emunet.c osdep/basic/emunet.c osdep/unix/cputime.c osdep/windows/cputime.c ker… 8661 …ws/dl.c osdep/linux/emunet.c osdep/basic/emunet.c osdep/unix/cputime.c osdep/windows/cputime.c ker… 8666 …ws/dl.c osdep/linux/emunet.c osdep/basic/emunet.c osdep/unix/cputime.c osdep/windows/cputime.c ker… 8672 …ws/dl.c osdep/linux/emunet.c osdep/basic/emunet.c osdep/unix/cputime.c osdep/windows/cputime.c ker… 8677 …ws/dl.c osdep/linux/emunet.c osdep/basic/emunet.c osdep/unix/cputime.c osdep/windows/cputime.c ker… 8683 …ws/dl.c osdep/linux/emunet.c osdep/basic/emunet.c osdep/unix/cputime.c osdep/windows/cputime.c ker… 8688 …ws/dl.c osdep/linux/emunet.c osdep/basic/emunet.c osdep/unix/cputime.c osdep/windows/cputime.c ker… 8694 …ws/dl.c osdep/linux/emunet.c osdep/basic/emunet.c osdep/unix/cputime.c osdep/windows/cputime.c ker… 8699 …ws/dl.c osdep/linux/emunet.c osdep/basic/emunet.c osdep/unix/cputime.c osdep/windows/cputime.c ker… [all …]
|
| H A D | 0131-kern-buffer-Add-variable-sized-heap-buffer.patch | 33 …/emuconsole.c osdep/dl.c osdep/sleep.c osdep/init.c osdep/emunet.c osdep/cputime.c term/terminfo.c… 34 …/emuconsole.c osdep/dl.c osdep/sleep.c osdep/init.c osdep/emunet.c osdep/cputime.c term/terminfo.c… 536 @COND_emu_TRUE@ osdep/cputime.c term/terminfo.c term/tparm.c \
|
| H A D | 0032-efi-Add-secure-boot-detection.patch | 181 osdep/emunet.c osdep/cputime.c kern/i386/coreboot/startup.S \
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/dool/dool/ |
| H A D | 0001-Fix-rename-in-docs.patch | 88 - show dstat cputime consumption and latency 90 + show dool cputime consumption and latency
|
| /OK3568_Linux_fs/kernel/kernel/time/ |
| H A D | posix-cpu-timers.c | 237 static inline void __update_gt_cputime(atomic64_t *cputime, u64 sum_cputime) in __update_gt_cputime() argument 241 curr_cputime = atomic64_read(cputime); in __update_gt_cputime() 243 if (atomic64_cmpxchg(cputime, curr_cputime, sum_cputime) != curr_cputime) in __update_gt_cputime()
|
| H A D | Kconfig | 148 userspace extended quiescent state and tickless cputime
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | binfmt_elf_fdpic.c | 1317 struct task_cputime cputime; in fill_prstatus() local 1323 thread_group_cputime(p, &cputime); in fill_prstatus() 1324 prstatus->pr_utime = ns_to_kernel_old_timeval(cputime.utime); in fill_prstatus() 1325 prstatus->pr_stime = ns_to_kernel_old_timeval(cputime.stime); in fill_prstatus()
|
| H A D | binfmt_elf.c | 1524 struct task_cputime cputime; in fill_prstatus() local 1530 thread_group_cputime(p, &cputime); in fill_prstatus() 1531 prstatus->pr_utime = ns_to_kernel_old_timeval(cputime.utime); in fill_prstatus() 1532 prstatus->pr_stime = ns_to_kernel_old_timeval(cputime.stime); in fill_prstatus()
|
| /OK3568_Linux_fs/yocto/poky/meta/classes/ |
| H A D | buildstats.bbclass | 62 cputime = get_cputime() 64 d.setVar(var, (time, cputime, proctime))
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/ |
| H A D | buildstats.py | 39 def cputime(self): member in BSTask
|
| /OK3568_Linux_fs/kernel/init/ |
| H A D | Kconfig | 468 # Kind of a stub config for the pure tick based cputime accounting 470 bool "Simple tick based cputime accounting" 473 This is the basic tick based cputime accounting that maintains
|