Searched refs:pct (Results 1 – 4 of 4) sorted by relevance
/kernel/time/ |
D | posix-cpu-timers.c | 24 void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit) in posix_cputimers_group_init() argument 26 posix_cputimers_init(pct); in posix_cputimers_group_init() 28 pct->bases[CPUCLOCK_PROF].nextevt = cpu_limit * NSEC_PER_SEC; in posix_cputimers_group_init() 29 pct->timers_active = true; in posix_cputimers_group_init() 152 static inline bool expiry_cache_is_inactive(const struct posix_cputimers *pct) in expiry_cache_is_inactive() argument 154 return !(~pct->bases[CPUCLOCK_PROF].nextevt | in expiry_cache_is_inactive() 155 ~pct->bases[CPUCLOCK_VIRT].nextevt | in expiry_cache_is_inactive() 156 ~pct->bases[CPUCLOCK_SCHED].nextevt); in expiry_cache_is_inactive() 277 struct posix_cputimers *pct = &tsk->signal->posix_cputimers; in thread_group_sample_cputime() local 279 WARN_ON_ONCE(!pct->timers_active); in thread_group_sample_cputime() [all …]
|
/kernel/sched/ |
D | psi.c | 289 unsigned long pct; in calc_avgs() local 299 pct = div_u64(time * 100, period); in calc_avgs() 300 pct *= FIXED_1; in calc_avgs() 301 avg[0] = calc_load(avg[0], EXP_10s, pct); in calc_avgs() 302 avg[1] = calc_load(avg[1], EXP_60s, pct); in calc_avgs() 303 avg[2] = calc_load(avg[2], EXP_300s, pct); in calc_avgs()
|
D | fair.c | 9921 int llc_weight, pct; in update_idle_cpu_scan() local 9975 pct = env->sd->imbalance_pct; in update_idle_cpu_scan() 9976 tmp = x * x * pct * pct; in update_idle_cpu_scan()
|
/kernel/ |
D | fork.c | 1789 struct posix_cputimers *pct = &sig->posix_cputimers; in posix_cpu_timers_init_group() local 1793 posix_cputimers_group_init(pct, cpu_limit); in posix_cpu_timers_init_group()
|