Skip to main content

dynamo_nvtx_push

Macro dynamo_nvtx_push 

Source
macro_rules! dynamo_nvtx_push {
    ($fmt:literal $(, $arg:expr)* $(,)?) => { ... };
    ($name:expr) => { ... };
}
Expand description

Push a named NVTX range onto the calling thread’s nested range stack.

Accepts either a Display expression or format!-style arguments. Must be paired with [dynamo_nvtx_pop!] on the same thread, with no .await in between — use [dynamo_nvtx_range!] in async code. Zero-cost when the nvtx Cargo feature is off.