The Time Stamp Counter (TSC) is a 64-bit register present on all x86 processors since the Pentium. It counts the number of cycles since reset. The instruction RDTSC
returns the TSC in EDX:EAX. In x86-64 mode, RDTSC
also clears the higher 32 bits of RAX. Its opcode is 0F 31
. Pentium competitors such as the Cyrix 6x86 did not always have a TSC and may consider RDTSC
an illegal instruction. Cyrix included a Time Stamp Counter in their MII.
Read more about Time Stamp Counter: Use, Implementation in Various Processors, Operating System Support, Other Architectures
Famous quotes containing the words time, stamp and/or counter:
“Life is so short that it is not wise to take roundabout ways, nor can we spend much time in waiting.... We have not got half-way to dawn yet.”
—Henry David Thoreau (18171862)
“The use of criticism, in periodical writing, is to sift, not to stamp a work.”
—Margaret Fuller (18101850)
“As deaths have accumulated I have begun to think of life and death as a set of balance scales. When one is young, the scale is heavily tipped toward the living. With the first death, the first consciousness of death, the counter scale begins to fall. Death by death, the scales shift weight until what was unthinkable becomes merely a matter of gravity and the fall into death becomes an easy step.”
—Alison Hawthorne Deming (b. 1946)