[][src]Function ittapi_rs::__itt_model_site_begin

pub unsafe extern "C" fn __itt_model_site_begin(
    site: *mut __itt_model_site,
    instance: *mut __itt_model_site_instance,
    name: *const c_char
)

@brief ANNOTATE_SITE_BEGIN/ANNOTATE_SITE_END support.

site_begin/end model a potential concurrency site. site instances may be recursively nested with themselves. site_end exits the most recently started but unended site for the current thread. The handle passed to end may be used to validate structure. Instances of a site encountered on different threads concurrently are considered completely distinct. If the site name for two different lexical sites match, it is unspecified whether they are treated as the same or different for data presentation.