Lines Matching full:periods
57 static u32 __accumulate_pelt_segments(u64 periods, u32 d1, u32 d3) in __accumulate_pelt_segments() argument
64 c1 = decay_load((u64)d1, periods); in __accumulate_pelt_segments()
75 c2 = LOAD_AVG_MAX - decay_load(LOAD_AVG_MAX, periods) - 1024; in __accumulate_pelt_segments()
82 * of the last (incomplete) period, d2 the span of full periods and d3
106 u64 periods; in accumulate_sum() local
109 periods = delta / 1024; /* A period is 1024us (~1ms) */ in accumulate_sum()
114 if (periods) { in accumulate_sum()
115 sa->load_sum = decay_load(sa->load_sum, periods); in accumulate_sum()
117 decay_load(sa->runnable_sum, periods); in accumulate_sum()
118 sa->util_sum = decay_load((u64)(sa->util_sum), periods); in accumulate_sum()
135 contrib = __accumulate_pelt_segments(periods, in accumulate_sum()
148 return periods; in accumulate_sum()