Update:Remora Stats: Difference between revisions

m
m (1.01, silly changes)
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''' &mdash; window delta;
# The CP divides '''aA''' to the length of the time window in seconds<sup>1</sup>, thus determining the '''dW''' &mdash; window delta;
# The CP spawns<sup>2</sup> new <code>Targeted Processes</code> (TP) every '''dW''' seconds; each TP updates the RRA associated with a single add-on;
# 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>
8

edits