Function ittapi_sys::iJIT_GetNewMethodID
source · [−]pub unsafe extern "C" fn iJIT_GetNewMethodID() -> c_uint
Expand description
@brief Generates a new unique method ID.
You must use this API to obtain unique and valid method IDs for methods or traces reported to the agent if you don’t have your own mechanism to generate unique method IDs.
@return a new unique method ID. When out of unique method IDs, this API returns 0, which is not an accepted value.