Lines Matching refs:periods
59 static u32 __accumulate_pelt_segments(u64 periods, u32 d1, u32 d3) in __accumulate_pelt_segments() argument
66 c1 = decay_load((u64)d1, periods); in __accumulate_pelt_segments()
77 c2 = LOAD_AVG_MAX - decay_load(LOAD_AVG_MAX, periods) - 1024; in __accumulate_pelt_segments()
108 u64 periods; in accumulate_sum() local
111 periods = delta / 1024; /* A period is 1024us (~1ms) */ in accumulate_sum()
116 if (periods) { in accumulate_sum()
117 sa->load_sum = decay_load(sa->load_sum, periods); in accumulate_sum()
119 decay_load(sa->runnable_sum, periods); in accumulate_sum()
120 sa->util_sum = decay_load((u64)(sa->util_sum), periods); in accumulate_sum()
137 contrib = __accumulate_pelt_segments(periods, in accumulate_sum()
150 return periods; in accumulate_sum()