[][src]Function ittapi_rs::__itt_clock_domain_create

pub unsafe extern "C" fn __itt_clock_domain_create(
    fn_: __itt_get_clock_info_fn,
    fn_data: *mut c_void
) -> *mut __itt_clock_domain

@ingroup clockdomains @brief Create a clock domain. Certain applications require the capability to trace their application using a clock domain different than the CPU, for instance the instrumentation of events that occur on a GPU. Because the set of domains is expected to be static over the application's execution time, there is no mechanism to destroy a domain. Any domain can be accessed by any thread in the process, regardless of which thread created the domain. This call is thread-safe. @param[in] fn A pointer to a callback function which retrieves alternative CPU timestamps @param[in] fn_data Argument for a callback function; may be NULL