Function x86::rdpid

source · []
pub unsafe fn rdpid() -> u64
Expand description

Read Processor ID

Reads the value of the IA32_TSC_AUX MSR (address C0000103H) into the destination register.

Safety

May fail with #UD if rdpid is not supported (check CPUID).