macro_rules! vthread_duration_end {
($category:expr, $name:expr, $vthread_name:expr, $vthread_id:expr $(, $key:expr => $val:expr)* $(,)?) => { ... };
}Expand description
Convenience function for the vthread_duration_end function, which writes events to a track
specified by vthread_name and vthread_id.
Examples:
vthread_duration_end!("foo", "bar", "my_vthread", 123, "x" => 5, "y" => "boo")const FOO: &'static str = "foo";
const BAR: &'static str = "bar";
const VTHREAD_NAME: &'static str = "my_vthread";
vthread_duration_end!(FOO, BAR, VTHREAD_NAME, 123, "x" => 5, "y" => "boo");