Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/md/bcache/
Dutil.h431 #define ewma_add(ewma, val, weight, factor) \ argument
433 (ewma) *= (weight) - 1; \
434 (ewma) += (val) << factor; \
435 (ewma) /= (weight); \
436 (ewma) >> factor; \
/Linux-v4.19/drivers/net/wireless/ralink/rt2x00/
Drt2x00link.c36 static inline int rt2x00link_get_avg_rssi(struct ewma_rssi *ewma) in rt2x00link_get_avg_rssi() argument
40 avg = ewma_rssi_read(ewma); in rt2x00link_get_avg_rssi()
/Linux-v4.19/Documentation/networking/
Dgen_stats.txt86 and ewma log need to be converted to the appropriate values.
/Linux-v4.19/block/
Dblk-mq.c1090 unsigned int ewma; in blk_mq_update_dispatch_busy() local
1095 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()
/Linux-v4.19/kernel/sched/
Ddebug.c972 P(se.avg.util_est.ewma); in proc_sched_show_task()
Dfair.c3629 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()
/Linux-v4.19/include/linux/
Dsched.h342 unsigned int ewma; member