Home
last modified time | relevance | path

Searched refs:decay (Results 1 – 6 of 6) sorted by relevance

/xnu-11215/bsd/skywalk/nexus/netif/
H A Dnx_netif_poll.c38 #define NETIF_POLL_EWMA(old, new, decay) do { \ argument
41 _avg = (((_avg << (decay)) - _avg) + (new)) >> (decay); \
H A Dnx_netif.c4391 #define NQ_EWMA(old, new, decay) do { \ argument
4394 _avg = (((_avg << (decay)) - _avg) + (new)) >> (decay); \
/xnu-11215/doc/scheduler/
H A Dsched_clutch_edge.md7 …eads as batch threads. It then uses a timesharing model based on priority decay to penalize thread…
10 …ld lead to a burst of activity at the same or lower priority band causing decay for the App/UI thr…
28 …h is pre-defined for each bucket. The WCEL values are picked based on the decay curve followed by …
95 …h scheduling algorithm which uses load & CPU usage to decay priority for a thread. The thread deca…
99 …and the threads use this information for priority decay calculation as they use CPU. The priority …
/xnu-11215/bsd/skywalk/channel/
H A Dchannel_ring.c71 #define KR_EWMA(old, new, decay) do { \ argument
74 _avg = (((_avg << (decay)) - _avg) + (new)) >> (decay); \
/xnu-11215/bsd/net/
H A Dntstat.c1440 const uint32_t decay = 3; in nstat_route_rtt() local
1445 NSTAT_EWMA_ATOMIC(&stats->nstat_avg_rtt, rtt, decay); in nstat_route_rtt()
1447 NSTAT_EWMA_ATOMIC(&stats->nstat_var_rtt, rtt_var, decay); in nstat_route_rtt()
1468 const uint32_t decay = 3; in nstat_route_update() local
1484 NSTAT_EWMA_ATOMIC(&stats->nstat_avg_rtt, rtt, decay); in nstat_route_update()
1486 NSTAT_EWMA_ATOMIC(&stats->nstat_var_rtt, rtt_var, decay); in nstat_route_update()
H A Ddlil.c1416 #define DLIL_EWMA(old, new, decay) do { \ argument
1419 _avg = (((_avg << (decay)) - _avg) + (new)) >> (decay); \