Project

General

Profile

Actions

Bug #466

closed

ticks macro not serializing

Added by Victor Julien almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Low
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

http://en.wikipedia.org/wiki/Time_Stamp_Counter

"Starting with the Pentium Pro, Intel processors have supported
out-of-order execution, where instructions are not necessarily
performed in the order they appear in the executable. This can
cause RDTSC to be executed later than expected, producing a
misleading cycle count.[3] This problem can be solved by executing
a serializing instruction, such as CPUID, to force every preceding
instruction to complete before allowing the program to continue, or
by using the RDTSCP instruction, which is a serializing variant of
the RDTSC instruction (starting from Core i74 and starting from
AMD Athlon 64 X2 CPUs with AM2 Socket (Windsor & Brisbane))."

Noticed that suri doesn't serialize.. example code is included in
the entry.


Files

Actions #1

Updated by Victor Julien almost 12 years ago

  • Status changed from New to Assigned
  • Assignee set to Anoop Saldanha
  • Priority changed from Normal to Low
  • Target version changed from TBD to 1.4beta1
  • Estimated time set to 2.00 h
Actions #3

Updated by Victor Julien over 11 years ago

  • Status changed from Assigned to Closed
  • Target version changed from 1.4beta1 to 1.3.1

Applied, thanks Anoop.

Actions

Also available in: Atom PDF