macro_rules! range_push {
    ($($tt:tt)*) => { ... };
}
Expand description

Starts a nested thread range.

Arguments

  • message - The event message associated to this range event.

Returns

  • returns the 0 based level of range being started. If an error occurs a negative value is returned.

Examples

use nvtx::{range_pop, range_push};
range_push!("Hello World!");
range_pop!();