macro_rules! callsite {
($name: expr) => { ... };
}
Create a new CallSite
with the given name at the current source
location.
use time_graph::{CallSite, callsite};
let callsite: &'static CallSite = callsite!("here");
assert_eq!(callsite.name(), "here");