Skip to main content

record

Function record 

Source
pub fn record(segments: u64, all_safe: bool)
Expand description

Record one request’s frozen-region prose activity.

segments is how many prose fields were compressed this request; all_safe is true when every rewrite landed strictly inside the cache-safe frozen window. A no-op request (segments == 0) is not counted, so the ratio reflects only requests that actually mutated prose.