Function allocative::register_root
source · pub fn register_root(root: &'static (dyn Allocative + Sync + 'static))
Expand description
Register global root which can be later traversed by profiler.
root
macro can be used to register global root.