Displaying 2 results from an estimated 2 matches for "int_readcyclecount".
Did you mean:
int_readcyclecounter
2008 Jun 15
4
[LLVMdev] API to retrieve current time.
What's the API to retrieve current time of day in llc?
I need to use this to generate an unique number every time llc runs.
TIA
- Sanjiv
2008 Jun 15
0
[LLVMdev] API to retrieve current time.
> What's the API to retrieve current time of day in llc?
> I need to use this to generate an unique number every time llc runs.
The llvm.readcyclecounter might suit your needs:
http://www.llvm.org/docs/LangRef.html#int_readcyclecounter
Regards,
-Mahadevan.