[LLVMdev] How get clock cycle of a cpu (target)
Caldarale, Charles R
Chuck.Caldarale at unisys.com
Thu Dec 4 05:24:41 PST 2014
> 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
More information about the llvm-dev
mailing list