Trait tikv_alloc::trace::MemoryTrace[][src]

pub trait MemoryTrace {
    fn trace(&self, event: TraceEvent);
fn snapshot(&self) -> MemoryTraceSnapshot;
fn sub_trace(&self, id: Id) -> Arc<dyn MemoryTrace + Send + Sync>;
fn add_sub_trace(
        &mut self,
        id: Id,
        trace: Arc<dyn MemoryTrace + Send + Sync>
    );
fn sum(&self) -> usize; }

Required methods

fn trace(&self, event: TraceEvent)[src]

fn snapshot(&self) -> MemoryTraceSnapshot[src]

fn sub_trace(&self, id: Id) -> Arc<dyn MemoryTrace + Send + Sync>[src]

fn add_sub_trace(&mut self, id: Id, trace: Arc<dyn MemoryTrace + Send + Sync>)[src]

fn sum(&self) -> usize[src]

Loading content...

Implementors

impl MemoryTrace for MemoryTraceNode[src]

Loading content...