Macro tracy_client::span[][src]

macro_rules! span {
    ($name : expr) => { ... };
    ($name : expr, $callstack_depth : expr) => { ... };
}
Expand description

Start a new Tracy span with function, file, and line determined automatically.

Examples

Begin a span region, which will be terminated once _span goes out of scope:

let _span = tracy_client::span!("some span");