Home
last modified time | relevance | path

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

/linux/Documentation/translations/zh_CN/scheduler/
H A Dschedutil.rst31 ewma(u) = ewma_sum(u) / ewma_sum(1)
33 由于这本质上是一个无限几何级数的累加,结果是可组合的,即ewma(A) + ewma(B) = ewma(A+B)。
/linux/drivers/md/bcache/
H A Dutil.h409 #define ewma_add(ewma, val, weight, factor) \ argument
411 (ewma) *= (weight) - 1; \
412 (ewma) += (val) << factor; \
413 (ewma) /= (weight); \
414 (ewma) >> factor; \
/linux/Documentation/scheduler/
H A 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/drivers/net/wireless/ralink/rt2x00/
H A 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/fs/bcachefs/
H A Dutil.h335 #define ewma_add(ewma, val, weight) \ argument
337 typeof(ewma) _ewma = (ewma); \
/linux/Documentation/networking/
H A Dgen_stats.rst95 and ewma log need to be converted to the appropriate values.
/linux/block/
H A Dblk-mq.c1898 unsigned int ewma; in blk_mq_update_dispatch_busy() local
1900 ewma = hctx->dispatch_busy; in blk_mq_update_dispatch_busy()
1902 if (!ewma && !busy) in blk_mq_update_dispatch_busy()
1905 ewma *= BLK_MQ_DISPATCH_BUSY_EWMA_WEIGHT - 1; in blk_mq_update_dispatch_busy()
1907 ewma += 1 << BLK_MQ_DISPATCH_BUSY_EWMA_FACTOR; in blk_mq_update_dispatch_busy()
1908 ewma /= BLK_MQ_DISPATCH_BUSY_EWMA_WEIGHT; in blk_mq_update_dispatch_busy()
1910 hctx->dispatch_busy = ewma; in blk_mq_update_dispatch_busy()
/linux/kernel/sched/
H A Dfair.c4885 unsigned int ewma, dequeued, last_ewma_diff; in util_est_update() local
4898 ewma = READ_ONCE(p->se.avg.util_est); in util_est_update()
4904 if (ewma & UTIL_AVG_UNCHANGED) in util_est_update()
4914 if (ewma <= dequeued) { in util_est_update()
4915 ewma = dequeued; in util_est_update()
4923 last_ewma_diff = ewma - dequeued; in util_est_update()
4958 ewma <<= UTIL_EST_WEIGHT_SHIFT; in util_est_update()
4959 ewma -= last_ewma_diff; in util_est_update()
4960 ewma >>= UTIL_EST_WEIGHT_SHIFT; in util_est_update()
4962 ewma |= UTIL_AVG_UNCHANGED; in util_est_update()
[all …]
/linux/mm/
H A Dksm.c377 static unsigned long ewma(unsigned long prev, unsigned long curr) in ewma() function
440 change = ewma(advisor_ctx.change, change); in scan_time_advisor()
/linux/Documentation/netlink/specs/
H A Dtc.yaml700 name: ewma-log