/// Returns a new `FlameLayer` that outputs all folded stack samples to the
/// provided writer.
Returns a new `FlameLayer` that outputs all folded stack samples to the
provided writer.
Returns a new ` FlameLayer ` that outputs all folded stack samples to the provided writer .
pub fn new(writer: W) -> Self {
        // Initialize the start used by all threads when initializing the
        // LAST_EVENT when constructing the layer
        let _unused = *START;
        Self {
            out: Arc::new(Mutex::new(writer)),
            _inner: PhantomData,
        }
    }
pub fn new ( writer : W ) -> Self { // Initialize the start used by all threads when initializing the // LAST_EVENT when constructing the layer let _unused = * START ; Self { out : Arc :: new ( Mutex :: new ( writer ) ) , _inner : PhantomData , } }
Returns a new `FlameLayer` that outputs all folded stack samples to the
provided writer.
Returns a new ` FlameLayer ` that outputs all folded stack samples to the provided writer .
writer
W