pub fn current_span(category: &'static str, name: &'static str) -> Span
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.