How get clock cycle of a cpu (target)

Hello everybody,

How get clock cycle(processing time) of a cpu (target)?

Best regards,

Huy

Mobile: 01668178291

From: llvmdev-bounces@cs.uiuc.edu [mailto:llvmdev-bounces@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