Macro time_graph::callsite

source ·
macro_rules! callsite {
    ($name: expr) => { ... };
}
Expand description

Create a new CallSite with the given name at the current source location.

Examples

use time_graph::{CallSite, callsite};

let callsite: &'static CallSite = callsite!("here");
assert_eq!(callsite.name(), "here");