duration_end

Macro duration_end 

Source
macro_rules! duration_end {
    ($category:expr, $name:expr $(, $key:expr => $val:expr)* $(,)?) => { ... };
}
Expand description

Convenience macro for the duration_end function.

Examples:

duration_end!("foo", "bar", "x" => 5, "y" => "boo");
const FOO: &'static str = "foo";
const BAR: &'static str = "bar";
duration_end!(FOO, BAR, "x" => 5, "y" => "boo");