Searched refs:ewma (Results 1 – 9 of 9) sorted by relevance
31 ewma(u) = ewma_sum(u) / ewma_sum(1)33 由于这本质上是一个无限几何级数的累加,结果是可组合的,即ewma(A) + ewma(B) = ewma(A+B)。
410 #define ewma_add(ewma, val, weight, factor) \ argument412 (ewma) *= (weight) - 1; \413 (ewma) += (val) << factor; \414 (ewma) /= (weight); \415 (ewma) >> factor; \
24 ewma(u) = ewma_sum(u) / ewma_sum(1)27 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.
1929 unsigned int ewma; in blk_mq_update_dispatch_busy() local1931 ewma = hctx->dispatch_busy; in blk_mq_update_dispatch_busy()1933 if (!ewma && !busy) in blk_mq_update_dispatch_busy()1936 ewma *= BLK_MQ_DISPATCH_BUSY_EWMA_WEIGHT - 1; in blk_mq_update_dispatch_busy()1938 ewma += 1 << BLK_MQ_DISPATCH_BUSY_EWMA_FACTOR; in blk_mq_update_dispatch_busy()1939 ewma /= BLK_MQ_DISPATCH_BUSY_EWMA_WEIGHT; in blk_mq_update_dispatch_busy()1941 hctx->dispatch_busy = ewma; in blk_mq_update_dispatch_busy()
1078 P(se.avg.util_est.ewma); in proc_sched_show_task()
4726 return max(ue.ewma, (ue.enqueued & ~UTIL_AVG_UNCHANGED)); in _task_util_est()4814 if (ue.ewma < ue.enqueued) { in util_est_update()4815 ue.ewma = ue.enqueued; in util_est_update()4824 last_ewma_diff = ue.enqueued - ue.ewma; in util_est_update()4857 ue.ewma <<= UTIL_EST_WEIGHT_SHIFT; in util_est_update()4858 ue.ewma += last_ewma_diff; in util_est_update()4859 ue.ewma >>= UTIL_EST_WEIGHT_SHIFT; in util_est_update()
444 unsigned int ewma; member