pub fn thread_snapshot() -> CountsExpand description
The calling thread’s unflushed counts, without consuming them.
Use paired reads to attribute synchronous diagnostic work without also counting
workers that finish during it. A flush_thread between reads starts a new local
interval; these are not lifetime totals. No other thread’s counts are included.