Intel® VTune™ Profiler

User Guide

ID 766319
Date 3/22/2024

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

iJIT_ GetNewMethodID

Generates a new unique method ID.


unsigned int iJIT_GetNewMethodID(void);


The iJIT_GetNewMethodID function generates new method ID upon each call. Use this API to obtain unique and valid method IDs for methods or traces reported to the agent if you do not have your own mechanism to generate unique method IDs.

Input Parameters


Return Values

A new unique method ID. When out of unique method IDs, this API function returns 0.