| description | Description of the 'rdtsc' function in HyperDbg Scripts |
|---|
rdtsc
rdtsc();
None
Reads and returns the current value of the processor's (current core's) time-stamp counter using the RDTSC instruction.
The time-stamp counter value (the value of EDX:EAX) returned as a 64-bit value.
The following code executes and returns the TSC value.
? current_core_tsc = rdtsc();
None