fuchsia_trace

Function duration_end

Source
pub fn duration_end(
    context: &TraceCategoryContext,
    name: &'static CStr,
    args: &[Arg<'_>],
)
Expand description

Writes a duration end event only.

Durations describe work which is happening synchronously on one thread. They can be nested to represent a control flow stack.

0 to 15 arguments can be associated with the event, each of which is used to annotate the duration with additional information. The arguments provided to matching duration begin and duration end events are combined together in the trace; it is not necessary to repeat them.