pub fn span_record_count() -> usizeExpand description
Return the number of span records currently held in the current thread’s ring buffer.
§Examples
use martensite_devtools::tracy;
{
let _g = tracy::span("count_region");
}
assert!(tracy::span_record_count() >= 1);