pub struct EventLog { /* private fields */ }Expand description
The seven-column SoA log. Fixed-width rows — a consequence of I-1
(events carry no payload), and the load-bearing fact behind lock-free
tail reads in stores (doc 15 §2). The regions column packs the
contract touch bitmask; 0 doubles as “none” because an empty mask
carries no information (unlike variant, where index 0 is real).
Implementations§
Source§impl EventLog
impl EventLog
Sourcepub fn push(&mut self, event: &Event, tables: &mut InternTables)
pub fn push(&mut self, event: &Event, tables: &mut InternTables)
Append one event, interning through tables.
Sourcepub fn stage_counts(
&self,
token: TokenId,
tables: &InternTables,
) -> Vec<(Stage, u64)>
pub fn stage_counts( &self, token: TokenId, tables: &InternTables, ) -> Vec<(Stage, u64)>
Stage counts for one token — the hot funnel fold: one sequential pass over two narrow columns, counts into a dense array.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventLog
impl RefUnwindSafe for EventLog
impl Send for EventLog
impl Sync for EventLog
impl Unpin for EventLog
impl UnsafeUnpin for EventLog
impl UnwindSafe for EventLog
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more