Searched refs:rtime (Results 1 – 2 of 2) sorted by relevance
/kernel/sched/ |
D | cputime.c | 539 static u64 scale_stime(u64 stime, u64 rtime, u64 total) in scale_stime() argument 545 if (stime > rtime) in scale_stime() 546 swap(rtime, stime); in scale_stime() 553 if (!(rtime >> 32)) in scale_stime() 562 rtime >>= 1; in scale_stime() 567 rtime >>= 1; in scale_stime() 575 scaled = div_u64((u64) (u32) stime * (u64) (u32) rtime, (u32)total); in scale_stime() 602 u64 rtime, stime, utime; in cputime_adjust() local 607 rtime = curr->sum_exec_runtime; in cputime_adjust() 617 if (prev->stime + prev->utime >= rtime) in cputime_adjust() [all …]
|
/kernel/time/ |
D | posix-cpu-timers.c | 217 static inline void store_samples(u64 *samples, u64 stime, u64 utime, u64 rtime) in store_samples() argument 221 samples[CPUCLOCK_SCHED] = rtime; in store_samples() 235 u64 stime, utime, rtime; in proc_sample_cputime_atomic() local 239 rtime = atomic64_read(&at->sum_exec_runtime); in proc_sample_cputime_atomic() 240 store_samples(samples, stime, utime, rtime); in proc_sample_cputime_atomic()
|