Function instant_flow_end

Source
pub fn instant_flow_end(
    context: &TraceCategoryContext,
    event_name: &'static CStr,
    flow_name: &'static CStr,
    flow_id: Id,
    args: &[Arg<'_>],
)
Expand description

Convenience function to the end of a flow attached to an instant event.

Flow events describe control flow handoffs between threads or across processes. They are typically represented as arrows in a visualizer. Flow arrows are from the end of the duration event which encloses the beginning of the flow to the beginning of the duration event which encloses the next step or the end of the flow. The id serves to correlate flows which share the same category and name across processes.

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