Skip to main content

current_span

Function current_span 

Source
pub fn current_span(category: &'static str, name: &'static str) -> Span
Expand description

Starts a span for the window whose GPUI draw is active on this thread. Disabled hooks do not access thread-local state or read the clock.