Searched refs:scale (Results 1 – 4 of 4) sorted by relevance
/kernel/time/ |
D | clocksource.c | 659 void __clocksource_updatefreq_scale(struct clocksource *cs, u32 scale, u32 freq) in __clocksource_updatefreq_scale() argument 674 do_div(sec, scale); in __clocksource_updatefreq_scale() 681 NSEC_PER_SEC / scale, sec * scale); in __clocksource_updatefreq_scale() 711 int __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq) in __clocksource_register_scale() argument 715 __clocksource_updatefreq_scale(cs, scale, freq); in __clocksource_register_scale()
|
/kernel/ |
D | timeconst.bc | 1 scale=0
|
/kernel/sched/ |
D | core.c | 2537 int i, scale; in __update_cpu_load() local 2543 for (i = 1, scale = 2; i < CPU_LOAD_IDX_MAX; i++, scale += scale) { in __update_cpu_load() 2557 new_load += scale - 1; in __update_cpu_load() 2559 this_rq->cpu_load[i] = (old_load * (scale - 1) + new_load) >> i; in __update_cpu_load()
|
D | fair.c | 3533 int scale = cfs_rq->nr_running >= sched_nr_latency; in check_preempt_wakeup() local 3548 if (sched_feat(NEXT_BUDDY) && scale && !(wake_flags & WF_FORK)) { in check_preempt_wakeup() 3607 if (sched_feat(LAST_BUDDY) && scale && entity_is_task(se)) in check_preempt_wakeup()
|