macro_rules! duration_begin {
($category:tt, $label:tt, $context:expr $(, $key:tt => $val:expr)* $(,)?) => { ... };
($category:tt, $label:tt $(, $key:tt => $val:expr)* $(,)?) => { ... };
}Expand description
Writes a duration begin event associated with the current thread when the given category is enabled.
§Arguments:
- category: Filter category for the event. Expects a string literal or expression.
- label: Label for the event. Expects a string literal or expression.
- …: List of key => value argument pairs.