Hi all
I'm working on ia64 platform. I want to get a logic processor's corresponding physical cpu id, core id and thread id (if applicable). For example, given logic processor 0, return its physical cpu id 0, core id 0 and thread id 0.
On x86/x86_64, we can use cpuid instruction (type 2) to get above information. But I don't know how to do similar thing on ia64.
Can anybody give me some hints?
Thank you very much.
Huaifeng
Link Copied
For more complete information about compiler optimizations, see our Optimization Notice.