[][src]Function ittapi_rs::__itt_model_task_begin

pub unsafe extern "C" fn __itt_model_task_begin(
    task: *mut __itt_model_task,
    instance: *mut __itt_model_task_instance,
    name: *const c_char
)

@brief ANNOTATE_TASK_BEGIN/ANNOTATE_TASK_END support

task_begin/end model a potential task, which is contained within the most closely enclosing dynamic site. task_end exits the most recently started but unended task. The handle passed to end may be used to validate structure. It is unspecified if bad dynamic nesting is detected. If it is, it should be encoded in the resulting data collection. The collector should not fail due to construct nesting issues, nor attempt to directly indicate the problem.