Macro tikv_alloc::mem_trace[][src]

macro_rules! mem_trace {
    ($name: ident) => { ... };
    ($name: ident, [$($child:tt),+]) => { ... };
    (($name: ident, [$($child:tt),+])) => { ... };
}

Define the tree hierarchy of memory usage for a module. For example there is a module:

Its defination could be: mem_trace!(root, [(mid1, [leaf1, leaf2]), (mid2, [leaf3])])