Function mz_compute::extensions::arrange::log_arrangement_size_inner

source ยท
fn log_arrangement_size_inner<G, Tr, L>(
    arranged: Arranged<G, TraceAgent<Tr>>,
    logic: L,
) -> Arranged<G, TraceAgent<Tr>>
where G: Scope, G::Timestamp: Timestamp + Lattice + Ord, Tr: TraceReader + 'static, Tr::Time: Timestamp + Lattice + Ord + Clone + 'static, L: FnMut(&Tr) -> (usize, usize, usize) + 'static,
Expand description

Helper for ArrangementSize to install a common operator holding on to a trace.

  • arranged: The arrangement to inspect.
  • logic: Closure that calculates the heap size/capacity/allocations for a trace. The return value are size and capacity in bytes, and number of allocations, all in absolute values.