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

Add nanowait busy loop with nanoseconds precision #78

Merged
merged 2 commits into from
Jul 29, 2020
Merged

Conversation

vinc
Copy link
Owner

@vinc vinc commented Jul 14, 2020

Use the rdtsc instruction to read the Time Stamp Counter register and provide a busy loop with nanosecond precision after calibration.

@vinc vinc merged commit 51a1b77 into master Jul 29, 2020
@vinc vinc deleted the feature/add-nanowait branch July 29, 2020 21:06
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

Successfully merging this pull request may close these issues.

1 participant