Macro fuchsia_trace::duration_begin
source ยท macro_rules! duration_begin { ($category:expr, $name:expr $(, $key:expr => $val:expr)* $(,)?) => { ... }; }
Expand description
Convenience macro for the duration_begin
function.
Examples:
duration_begin!(c"foo", c"bar", "x" => 5, "y" => "boo");
const FOO: &'static CStr = c"foo";
const BAR: &'static CStr = c"bar";
duration_begin!(FOO, BAR, "x" => 5, "y" => "boo");