Lines Matching full:decay
369 * Constants for digital decay and forget:
377 * We wish to decay away 90% of ts_estcpu in (5 * loadavg) seconds.
378 * That is, the system wants to compute a value of decay such
381 * ts_estcpu *= decay;
387 * decay ** (5 * loadavg) ~= .1
389 * The system computes decay as:
390 * decay = (2 * loadavg) / (2 * loadavg + 1)
392 * We wish to prove that the system's computation of decay
394 * decay ** (5 * loadavg) ~= .1
399 * decay = b / (b + 1)
432 /* calculations for digital decay to forget 90% of usage in 5*loadav sec */
436 /* decay 95% of `ts_pctcpu' in 60 seconds; see CCPU_SHIFT before changing */
439 "Decay factor used for updating %CPU");
574 * least six times the loadfactor will decay ts_estcpu to zero.