Searched refs:ewma (Results 1 – 9 of 9) sorted by relevance
| /linux/Documentation/translations/zh_CN/scheduler/ |
| H A D | schedutil.rst | 31 ewma(u) = ewma_sum(u) / ewma_sum(1) 33 由于这本质上是一个无限几何级数的累加,结果是可组合的,即ewma(A) + ewma(B) = ewma(A+B)。
|
| /linux/drivers/md/bcache/ |
| H A D | util.h | 409 #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 D | schedutil.rst | 24 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 D | rt2x00link.c | 25 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/Documentation/networking/ |
| H A D | gen_stats.rst | 95 and ewma log need to be converted to the appropriate values.
|
| /linux/block/ |
| H A D | blk-mq.c | 1997 unsigned int ewma; in blk_mq_update_dispatch_busy() 1999 ewma = hctx->dispatch_busy; 2001 if (!ewma && !busy) in blk_mq_handle_dev_resource() 2004 ewma *= BLK_MQ_DISPATCH_BUSY_EWMA_WEIGHT - 1; in blk_mq_handle_dev_resource() 2006 ewma += 1 << BLK_MQ_DISPATCH_BUSY_EWMA_FACTOR; in blk_mq_handle_dev_resource() 2007 ewma /= BLK_MQ_DISPATCH_BUSY_EWMA_WEIGHT; 2009 hctx->dispatch_busy = ewma; 1984 unsigned int ewma; blk_mq_update_dispatch_busy() local
|
| /linux/kernel/sched/ |
| H A D | fair.c | 5979 unsigned int ewma, dequeued, last_ewma_diff; in util_est_enqueue() 5985 ewma = READ_ONCE(se->avg.util_est); in util_est_enqueue() 5991 if (ewma & UTIL_AVG_UNCHANGED) in util_est_dequeue() 6001 if (ewma <= dequeued) { in util_est_dequeue() 6002 ewma = dequeued; 6010 last_ewma_diff = ewma - dequeued; in get_actual_cpu_capacity() 6028 * ewma(t) = w * task_util(p) + (1-w) * ewma(t-1) in util_fits_cpu() 6029 * = w * task_util(p) + ewma(t-1) - w * ewma( in util_fits_cpu() 5782 unsigned int ewma, dequeued, last_ewma_diff; util_est_update() local [all...] |
| /linux/net/ipv4/ |
| H A D | tcp_input.c | 506 u32 ewma; in __tcp_accecn_process() local 517 ewma = delivered_pkts << PKTS_ACKED_PREC; in __tcp_accecn_process() 519 ewma = tp->pkts_acked_ewma; in __tcp_accecn_process() 520 ewma = (((ewma << PKTS_ACKED_WEIGHT) - ewma) + in __tcp_accecn_process() 524 tp->pkts_acked_ewma = min_t(u32, ewma, 0xFFFFU); in __tcp_accecn_process()
|
| /linux/mm/ |
| H A D | ksm.c | 382 static unsigned long ewma(unsigned long prev, unsigned long curr) in ewma() function 445 change = ewma(advisor_ctx.change, change); in scan_time_advisor()
|