[][src]Function ittapi_rs::iJIT_GetNewMethodID

pub unsafe extern "C" fn iJIT_GetNewMethodID() -> c_uint

@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.