Hello everybody,
How get clock cycle(processing time) of a cpu (target)?
Best regards,
Huy
Mobile: 01668178291
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20141204/89af1f7c/attachment.html>
Caldarale, Charles R
2014-Dec-04 13:24 UTC
[LLVMdev] How get clock cycle of a cpu (target)
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] > On Behalf Of huyite > Subject: [LLVMdev] How get clock cycle of a cpu (target)> How get clock cycle(processing time) of a cpu (target)?Are you referring to the llvm.readcyclecounter intrinsic? http://llvm.org/docs/LangRef.html#llvm-readcyclecounter-intrinsic - Chuck