Home
last modified time | relevance | path

Searched refs:ewma (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/Documentation/translations/zh_CN/scheduler/ !
Dschedutil.rst31 ewma(u) = ewma_sum(u) / ewma_sum(1)
33 由于这本质上是一个无限几何级数的累加,结果是可组合的,即ewma(A) + ewma(B) = ewma(A+B)。
/linux-6.6.21/drivers/md/bcache/ !
Dutil.h410 #define ewma_add(ewma, val, weight, factor) \ argument
412 (ewma) *= (weight) - 1; \
413 (ewma) += (val) << factor; \
414 (ewma) /= (weight); \
415 (ewma) >> factor; \
/linux-6.6.21/Documentation/scheduler/ !
Dschedutil.rst24 ewma(u) = ewma_sum(u) / ewma_sum(1)
27 results are composable, that is ewma(A) + ewma(B) = ewma(A+B). This property
/linux-6.6.21/drivers/net/wireless/ralink/rt2x00/ !
Drt2x00link.c25 static inline int rt2x00link_get_avg_rssi(struct ewma_rssi *ewma) in rt2x00link_get_avg_rssi() argument
29 avg = ewma_rssi_read(ewma); in rt2x00link_get_avg_rssi()
/linux-6.6.21/Documentation/networking/ !
Dgen_stats.rst95 and ewma log need to be converted to the appropriate values.
/linux-6.6.21/block/ !
Dblk-mq.c1929 unsigned int ewma; in blk_mq_update_dispatch_busy() local
1931 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()
/linux-6.6.21/kernel/sched/ !
Ddebug.c1078 P(se.avg.util_est.ewma); in proc_sched_show_task()
Dfair.c4726 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()
/linux-6.6.21/include/linux/ !
Dsched.h444 unsigned int ewma; member