mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-04-12 05:43:20 +00:00

- The computer queue is a priority queue sorted by "virtual runtime". - Virtual runtime is based on the time this task has executed, divided by the number of pending tasks. - We try to execute every task within a given period. Each computer is allocated a fair share of that period, depending how many tasks are in the queue. Once a computer has used more than that period, the computer is paused and the next one resumed.