pub fn trace_track_event_instant<'a>(
track_uuid: u64,
name: &str,
location_file: &str,
location_line: u32,
debug_annotations: &DebugAnnotations<'a>,
)
Expand description
Create a trace event signifying that an instant event has happened, similar to a log message or something else that takes ~zero time.
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.