pub fn trace_track_event_slice_begin<'a>(
track_uuid: u64,
name: &str,
location_file: &str,
location_line: u32,
debug_annotations: &DebugAnnotations<'a>,
)
Expand description
Create a trace event signifying that a new slice (aka span) begins.
Make sure to call this in the hot path instead of delaying the call to some background queue, etc., as the call will collect additional timing data at the time of the actual call.
This call is very cheap and will be a no-op if trace collection is not yet started/enabled.