Skip to main content

note_prime_rows

Function note_prime_rows 

Source
pub fn note_prime_rows(rows: usize)
Expand description

One prime chunk completed on this process’s worker thread, carrying rows token rows.

Ordering: the counters are Relaxed (diagnostics) but LAST_MS is Release and read Acquire, so a reader that observes a fresh timestamp also observes the counts that produced it. Cost is three atomic stores and one Instant::now() per CHUNK (not per token, not per kernel), which is noise against a chunk that just moved thousands of token rows.