pub fn trace_track_descriptor_thread(
parent_uuid: u64,
track_uuid: u64,
process_pid: u32,
thread_name: &str,
thread_tid: u32,
)
Expand description
Create a track descriptor for a thread.
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.