/linux-4.1.27/arch/powerpc/include/asm/ |
D | cputime.h | 32 typedef u64 __nocast cputime_t; typedef 42 extern cputime_t cputime_one_jiffy; 51 static inline unsigned long cputime_to_jiffies(const cputime_t ct) in cputime_to_jiffies() 58 static inline cputime_t cputime_to_scaled(const cputime_t ct) in cputime_to_scaled() 68 static inline cputime_t jiffies_to_cputime(const unsigned long jif) in jiffies_to_cputime() 81 ct += (cputime_t) sec * tb_ticks_per_sec; in jiffies_to_cputime() 82 return (__force cputime_t) ct; in jiffies_to_cputime() 107 static inline u64 cputime64_to_jiffies64(const cputime_t ct) in cputime64_to_jiffies64() 117 static inline unsigned long cputime_to_usecs(const cputime_t ct) in cputime_to_usecs() 122 static inline cputime_t usecs_to_cputime(const unsigned long us) in usecs_to_cputime() [all …]
|
/linux-4.1.27/arch/s390/include/asm/ |
D | cputime.h | 18 typedef unsigned long long __nocast cputime_t; typedef 33 static inline unsigned long cputime_to_jiffies(const cputime_t cputime) in cputime_to_jiffies() 38 static inline cputime_t jiffies_to_cputime(const unsigned int jif) in jiffies_to_cputime() 40 return (__force cputime_t)(jif * (CPUTIME_PER_SEC / HZ)); in jiffies_to_cputime() 58 static inline unsigned int cputime_to_usecs(const cputime_t cputime) in cputime_to_usecs() 63 static inline cputime_t usecs_to_cputime(const unsigned int m) in usecs_to_cputime() 65 return (__force cputime_t)(m * CPUTIME_PER_USEC); in usecs_to_cputime() 73 static inline unsigned int cputime_to_secs(const cputime_t cputime) in cputime_to_secs() 78 static inline cputime_t secs_to_cputime(const unsigned int s) in secs_to_cputime() 80 return (__force cputime_t)(s * CPUTIME_PER_SEC); in secs_to_cputime() [all …]
|
/linux-4.1.27/kernel/sched/ |
D | cputime.c | 135 void account_user_time(struct task_struct *p, cputime_t cputime, in account_user_time() 136 cputime_t cputime_scaled) in account_user_time() 160 static void account_guest_time(struct task_struct *p, cputime_t cputime, in account_guest_time() 161 cputime_t cputime_scaled) in account_guest_time() 189 void __account_system_time(struct task_struct *p, cputime_t cputime, in __account_system_time() 190 cputime_t cputime_scaled, int index) in __account_system_time() 212 cputime_t cputime, cputime_t cputime_scaled) in account_system_time() 235 void account_steal_time(cputime_t cputime) in account_steal_time() 246 void account_idle_time(cputime_t cputime) in account_idle_time() 289 cputime_t utime, stime; in thread_group_cputime() [all …]
|
D | stats.h | 211 cputime_t cputime) in account_group_user_time() 234 cputime_t cputime) in account_group_system_time()
|
/linux-4.1.27/include/asm-generic/ |
D | cputime_nsecs.h | 21 typedef u64 __nocast cputime_t; typedef 39 (__force cputime_t)((__jif) * (NSEC_PER_SEC / HZ)) 52 (__force cputime_t)(__nsecs) 61 (__force cputime_t)((__usecs) * NSEC_PER_USEC) 71 (__force cputime_t)((__secs) * NSEC_PER_SEC) 76 static inline cputime_t timespec_to_cputime(const struct timespec *val) in timespec_to_cputime() 79 return (__force cputime_t) ret; in timespec_to_cputime() 81 static inline void cputime_to_timespec(const cputime_t ct, struct timespec *val) in cputime_to_timespec() 92 static inline cputime_t timeval_to_cputime(const struct timeval *val) in timeval_to_cputime() 96 return (__force cputime_t) ret; in timeval_to_cputime() [all …]
|
D | cputime_jiffies.h | 4 typedef unsigned long __nocast cputime_t; typedef 11 #define jiffies_to_cputime(__hz) (__force cputime_t)(__hz)
|
/linux-4.1.27/include/linux/ |
D | kernel_stat.h | 81 extern void account_user_time(struct task_struct *, cputime_t, cputime_t); 82 extern void account_system_time(struct task_struct *, int, cputime_t, cputime_t); 83 extern void account_steal_time(cputime_t); 84 extern void account_idle_time(cputime_t);
|
D | posix-timers.h | 11 static inline unsigned long long cputime_to_expires(cputime_t expires) in cputime_to_expires() 16 static inline cputime_t expires_to_cputime(unsigned long long expires) in expires_to_cputime() 18 return (__force cputime_t)expires; in expires_to_cputime() 135 cputime_t *newval, cputime_t *oldval);
|
D | sched.h | 516 cputime_t ac_utime, ac_stime; 521 cputime_t expires; 522 cputime_t incr; 535 cputime_t utime; 536 cputime_t stime; 554 cputime_t utime; 555 cputime_t stime; 695 cputime_t utime, stime, cutime, cstime; 696 cputime_t gtime; 697 cputime_t cgtime; [all …]
|
/linux-4.1.27/kernel/ |
D | tsacct.c | 34 cputime_t utime, stime, utimescaled, stimescaled; in bacct_add_tsk() 124 cputime_t utime, cputime_t stime) in __acct_update_integrals() 127 cputime_t time, dtime; in __acct_update_integrals() 155 cputime_t utime, stime; in acct_update_integrals()
|
D | delayacct.c | 85 cputime_t utime, stime, stimescaled, utimescaled; in __delayacct_add_tsk()
|
D | acct.c | 533 cputime_t utime, stime; in acct_collect()
|
D | exit.c | 89 cputime_t utime, stime; in __exit_signal() 1025 cputime_t tgutime, tgstime; in wait_task_zombie()
|
D | sys.c | 884 cputime_t tgutime, tgstime, cutime, cstime; in do_sys_times() 1546 cputime_t tgutime, tgstime, utime, stime; in k_getrusage()
|
D | signal.c | 1629 cputime_t utime, stime; in do_notify_parent() 1733 cputime_t utime, stime; in do_notify_parent_cldstop()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | time.c | 84 extern cputime_t cycle_to_cputime(u64 cyc); 88 cputime_t delta_utime; in vtime_account_user() 116 static cputime_t vtime_delta(struct task_struct *tsk) in vtime_delta() 119 cputime_t delta_stime; in vtime_delta() 135 cputime_t delta = vtime_delta(tsk); in vtime_account_system()
|
/linux-4.1.27/include/trace/events/ |
D | timer.h | 270 cputime_t expires), 276 __field( cputime_t, expires ) 306 TP_PROTO(int which, struct pid *pid, cputime_t now), 313 __field( cputime_t, now )
|
/linux-4.1.27/kernel/time/ |
D | itimer.c | 48 cputime_t cval, cinterval; in get_cpu_itimer() 57 cputime_t t; in get_cpu_itimer() 132 static inline u32 cputime_sub_ns(cputime_t ct, s64 real_ns) in cputime_sub_ns() 147 cputime_t cval, nval, cinterval, ninterval; in set_cpu_itimer()
|
D | posix-cpu-timers.c | 24 cputime_t cputime = secs_to_cputime(rlim_new); in update_rlimit_cpu() 75 cputime_to_timespec((__force cputime_t)expires, tp); in sample_to_timespec() 128 cputime_t utime, stime; in prof_ticks() 136 cputime_t utime; in virt_ticks() 438 static inline int expires_gt(cputime_t expires, cputime_t new_exp) in expires_gt() 966 cputime_t x; in check_process_timers() 1098 cputime_t utime, stime; in fastpath_timer_check() 1202 cputime_t *newval, cputime_t *oldval) in set_process_cpu_timer()
|
/linux-4.1.27/fs/ |
D | compat_binfmt_elf.c | 58 static void cputime_to_compat_timeval(const cputime_t cputime, in cputime_to_compat_timeval()
|
D | binfmt_elf_fdpic.c | 1349 cputime_t utime, stime; in fill_prstatus()
|
D | binfmt_elf.c | 1416 cputime_t utime, stime; in fill_prstatus()
|
/linux-4.1.27/arch/mips/kernel/ |
D | binfmt_elfn32.c | 125 cputime_to_compat_timeval(const cputime_t cputime, struct compat_timeval *value) in cputime_to_compat_timeval()
|
D | binfmt_elfo32.c | 144 cputime_to_compat_timeval(const cputime_t cputime, struct compat_timeval *value) in cputime_to_compat_timeval()
|
/linux-4.1.27/arch/parisc/kernel/ |
D | binfmt_elf32.c | 97 cputime_to_compat_timeval(const cputime_t cputime, struct compat_timeval *value) in cputime_to_compat_timeval()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | time.c | 165 cputime_t cputime_one_jiffy; 373 cputime_t utime, utimescaled; in vtime_account_user()
|
/linux-4.1.27/fs/proc/ |
D | array.c | 379 cputime_t cutime, cstime, utime, stime; in do_task_stat() 380 cputime_t cgtime, gtime; in do_task_stat()
|
/linux-4.1.27/arch/ |
D | Kconfig | 432 With VIRT_CPU_ACCOUNTING_GEN, cputime_t becomes 64-bit. 435 cputime_t. For example, reading/writing 64-bit cputime_t on
|
/linux-4.1.27/arch/x86/xen/ |
D | time.c | 120 cputime_t ticks; in do_stolen_accounting()
|
/linux-4.1.27/drivers/isdn/mISDN/ |
D | stack.c | 206 cputime_t utime, stime; in mISDNStackd()
|
/linux-4.1.27/arch/alpha/kernel/ |
D | osf_sys.c | 1140 cputime_t utime, stime; in SYSCALL_DEFINE2()
|
/linux-4.1.27/arch/x86/kernel/ |
D | apm_32.c | 909 cputime_t stime; in apm_cpu_idle()
|