pub struct TurbopackFormat {
store: Arc<StoreContainer>,
id_mapping: FxHashMap<u64, NonZeroUsize>,
queued_rows: FxHashMap<u64, QueuedRows>,
outdated_spans: FxHashSet<NonZeroUsize>,
thread_stacks: FxHashMap<u64, Vec<u64>>,
thread_allocation_counters: FxHashMap<u64, AllocationInfo>,
self_time_started: FxHashMap<(u64, u64), Timestamp>,
}Fields§
§store: Arc<StoreContainer>§id_mapping: FxHashMap<u64, NonZeroUsize>§queued_rows: FxHashMap<u64, QueuedRows>§outdated_spans: FxHashSet<NonZeroUsize>§thread_stacks: FxHashMap<u64, Vec<u64>>§thread_allocation_counters: FxHashMap<u64, AllocationInfo>§self_time_started: FxHashMap<(u64, u64), Timestamp>Implementations§
Source§impl TurbopackFormat
impl TurbopackFormat
pub fn new(store: Arc<StoreContainer>) -> Self
fn process(&mut self, store: &mut StoreWriteGuard<'_>, row: TraceRow<'_>)
fn process_internal_row( &mut self, store: &mut StoreWriteGuard<'_>, row: InternalRow<'_>, )
fn process_internal_row_queue( &mut self, store: &mut StoreWriteGuard<'_>, row: InternalRow<'_>, queue: &mut Vec<InternalRow<'_>>, )
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TurbopackFormat
impl RefUnwindSafe for TurbopackFormat
impl Send for TurbopackFormat
impl Sync for TurbopackFormat
impl Unpin for TurbopackFormat
impl UnwindSafe for TurbopackFormat
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more