Searched refs:ewma (Results 1 – 8 of 8) sorted by relevance
410 #define ewma_add(ewma, val, weight, factor) \ argument412 (ewma) *= (weight) - 1; \413 (ewma) += (val) << factor; \414 (ewma) /= (weight); \415 (ewma) >> factor; \
20 ewma(u) = ewma_sum(u) / ewma_sum(1)23 results are composable, that is ewma(A) + ewma(B) = ewma(A+B). This property
25 static inline int rt2x00link_get_avg_rssi(struct ewma_rssi *ewma) in rt2x00link_get_avg_rssi() argument29 avg = ewma_rssi_read(ewma); in rt2x00link_get_avg_rssi()
95 and ewma log need to be converted to the appropriate values.
1507 unsigned int ewma; in blk_mq_update_dispatch_busy() local1509 ewma = hctx->dispatch_busy; in blk_mq_update_dispatch_busy()1511 if (!ewma && !busy) in blk_mq_update_dispatch_busy()1514 ewma *= BLK_MQ_DISPATCH_BUSY_EWMA_WEIGHT - 1; in blk_mq_update_dispatch_busy()1516 ewma += 1 << BLK_MQ_DISPATCH_BUSY_EWMA_FACTOR; in blk_mq_update_dispatch_busy()1517 ewma /= BLK_MQ_DISPATCH_BUSY_EWMA_WEIGHT; in blk_mq_update_dispatch_busy()1519 hctx->dispatch_busy = ewma; in blk_mq_update_dispatch_busy()
3918 return max(ue.ewma, (ue.enqueued & ~UTIL_AVG_UNCHANGED)); in _task_util_est()4020 if (ue.ewma < ue.enqueued) { in util_est_update()4021 ue.ewma = ue.enqueued; in util_est_update()4030 last_ewma_diff = ue.enqueued - ue.ewma; in util_est_update()4063 ue.ewma <<= UTIL_EST_WEIGHT_SHIFT; in util_est_update()4064 ue.ewma += last_ewma_diff; in util_est_update()4065 ue.ewma >>= UTIL_EST_WEIGHT_SHIFT; in util_est_update()
1041 P(se.avg.util_est.ewma); in proc_sched_show_task()
429 unsigned int ewma; member
Completed in 38 milliseconds