Function nvtx_rs::range_pop[][src]

pub fn range_pop() -> i32
Expand description

Ends a nested thread range.

Returns

  • returns the level of the range being ended. If an error occurs a negative value is returned on the current thread.

Examples

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