Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove use of Time Stamp Counter (rdtsc) #105

Open
gcongiu opened this issue Oct 25, 2023 · 0 comments
Open

Remove use of Time Stamp Counter (rdtsc) #105

gcongiu opened this issue Oct 25, 2023 · 0 comments

Comments

@gcongiu
Copy link
Contributor

gcongiu commented Oct 25, 2023

The Time Stamp Counter was once an excellent high-resolution, low-overhead way for a program to get CPU timing
information. With the advent of multi-core CPUs, systems with multiple CPUs, and hibernating operating systems, the
TSC cannot be relied upon to provide accurate results — unless great care is taken to correct the possible flaws: 
rate of tick and whether all cores (processors) have identical values in their time-keeping registers.

-- https://en.wikipedia.org/wiki/Time_Stamp_Counter

@gcongiu gcongiu changed the title Remove use of Time Stamp Counter (rdtsc) timers Remove use of Time Stamp Counter (rdtsc) Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant