Function fuchsia_trace::async_enter

source ·
pub fn async_enter(
    id: Id,
    category: &'static CStr,
    name: &'static CStr,
    args: &[Arg<'_>]
) -> AsyncScope
Expand description

Writes an async event which ends when the current scope exits, or the end method is is manually called.

Async events describe concurrently-scheduled work items that may migrate between threads. They may be nested by sharing id, and are otherwise differentiated by their id.

0 to 15 arguments can be associated with the event, each of which is used to annotate the duration with additional information.