arch:: x86:: __rdtscp
pub unsafe fn __rdtscp(aux: *mut u32) -> u64
Reads the current value of the processor’s time-stamp counter and
The processor monotonically increments the time-stamp counter MSR every clock cycle and resets it to 0 whenever the processor is reset.
The RDTSCP instruction waits until all previous instructions have been executed before reading the counter. However, subsequent instructions may begin execution before the read operation is performed.
On processors that support the Intel 64 architecture, the high-order 32 bits of each of RAX, RDX, and RCX are cleared.