pub unsafe fn rdpid() -> u64Expand description
Read Processor ID
Reads the value of the IA32_TSC_AUX MSR (address C0000103H) into the destination register.
§See also
IA32_TSC_AUX can also be read calling crate::time::rdtscp.
§Safety
May fail with #UD if rdpid is not supported (check CPUID).