Home
last modified time | relevance | path

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

/xnu-12377.61.12/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.c4398 #define NQ_EWMA(old, new, decay) do { \ argument
4401 _avg = (((_avg << (decay)) - _avg) + (new)) >> (decay); \
/xnu-12377.61.12/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-12377.61.12/bsd/net/
H A Ddlil_input.c36 #define DLIL_EWMA(old, new, decay) do { \ argument
39 _avg = (((_avg << (decay)) - _avg) + (new)) >> (decay); \
H A Dntstat.c1740 const uint32_t decay = 3; in nstat_route_rtt() local
1745 NSTAT_EWMA_ATOMIC(&stats->nstat_avg_rtt, rtt, decay); in nstat_route_rtt()
1747 NSTAT_EWMA_ATOMIC(&stats->nstat_var_rtt, rtt_var, decay); in nstat_route_rtt()
1768 const uint32_t decay = 3; in nstat_route_update() local
1784 NSTAT_EWMA_ATOMIC(&stats->nstat_avg_rtt, rtt, decay); in nstat_route_update()
1786 NSTAT_EWMA_ATOMIC(&stats->nstat_var_rtt, rtt_var, decay); in nstat_route_update()
/xnu-12377.61.12/bsd/skywalk/channel/
H A Dchannel_ring.c72 #define KR_EWMA(old, new, decay) do { \ argument
75 _avg = (((_avg << (decay)) - _avg) + (new)) >> (decay); \