Skip to article
← Wojciech Muła's Site
Open in Preserve Reader
Post · 1 min read· p. 46

RDTSC on Core2

Wojciech Muła's Site · Wojciech Muła · 1 min

RDTSC is incremented with bus-clock cycles, and then multiplied by core-clock/bus-clock ratio. From programmer view, RDTSC counter is incremented by value greater then 1, for example on C2D E8200 it is 8.

Latency of RDTSC in Pentium4 is about 60-120 cycles, on AMD CPU around 6 cycles.

← Previous PABSQ — absolute value of two singed 64-bit numbers Next → Floating point tricks