Description of the 'rdtscp' function in HyperDbg Scripts
rdtscp
rdtscp();
None
Reads and returns the current value of the processor's (current core's) time-stamp counter using the RDTSCP instruction.
RDTSCP
The time-stamp counter value (the value of EDX:EAX) returned as a 64-bit value.
EDX:EAX
The following code executes and returns the TSC value.
? current_core_tsc = rdtscp();
rdtscarrow-up-right
Last updated 8 months ago