8
edits
m (1.01, silly changes) |
m (→Asynchronous) |
||
Line 69: | Line 69: | ||
# The CP counts the '''aA''' — active add-ons — in the database ("active" in this context meaning add-ons which need to have their stats stored); | # The CP counts the '''aA''' — active add-ons — in the database ("active" in this context meaning add-ons which need to have their stats stored); | ||
# The CP divides '''aA''' to the length of the time window in seconds<sup>1</sup>, thus determining the '''dW''' — window delta; | # The CP divides '''aA''' to the length of the time window in seconds<sup>1</sup>, thus determining the '''dW''' — window delta; | ||
# The CP spawns<sup>2</sup> new <code>Targeted Processes</code> (TP) every '''dW''' seconds; each TP | # The CP spawns<sup>2</sup> new <code>Targeted Processes</code> (TP) every '''dW''' seconds; each TP is associated with a single add-on; | ||
# Each TP updates its associated add-on's RRA. | # Each TP updates its associated add-on's RRA. | ||
:<small><sup>1</sup>: A pre-determined time period must be subtracted from the real time window, in order to account for the last few processes</small> | :<small><sup>1</sup>: A pre-determined time period must be subtracted from the real time window, in order to account for the last few processes</small> |
edits