Searched refs:ewma (Results 1 – 7 of 7) sorted by relevance
431 #define ewma_add(ewma, val, weight, factor) \ argument433 (ewma) *= (weight) - 1; \434 (ewma) += (val) << factor; \435 (ewma) /= (weight); \436 (ewma) >> factor; \
36 static inline int rt2x00link_get_avg_rssi(struct ewma_rssi *ewma) in rt2x00link_get_avg_rssi() argument40 avg = ewma_rssi_read(ewma); in rt2x00link_get_avg_rssi()
86 and ewma log need to be converted to the appropriate values.
1090 unsigned int ewma; in blk_mq_update_dispatch_busy() local1095 ewma = hctx->dispatch_busy; in blk_mq_update_dispatch_busy()1097 if (!ewma && !busy) in blk_mq_update_dispatch_busy()1100 ewma *= BLK_MQ_DISPATCH_BUSY_EWMA_WEIGHT - 1; in blk_mq_update_dispatch_busy()1102 ewma += 1 << BLK_MQ_DISPATCH_BUSY_EWMA_FACTOR; in blk_mq_update_dispatch_busy()1103 ewma /= BLK_MQ_DISPATCH_BUSY_EWMA_WEIGHT; in blk_mq_update_dispatch_busy()1105 hctx->dispatch_busy = ewma; in blk_mq_update_dispatch_busy()
972 P(se.avg.util_est.ewma); in proc_sched_show_task()
3629 return max(ue.ewma, ue.enqueued); in _task_util_est()3699 last_ewma_diff = ue.enqueued - ue.ewma; in util_est_dequeue()3720 ue.ewma <<= UTIL_EST_WEIGHT_SHIFT; in util_est_dequeue()3721 ue.ewma += last_ewma_diff; in util_est_dequeue()3722 ue.ewma >>= UTIL_EST_WEIGHT_SHIFT; in util_est_dequeue()
342 unsigned int ewma; member