pub fn mark_impl<M: Display>(name: M)
Record an instantaneous NVTX marker on the calling thread’s timeline. No-op (compiled out) when the nvtx feature is off.
nvtx