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

Optimize clock_gettime. #734

Merged
merged 1 commit into from
Jul 11, 2023
Merged

Optimize clock_gettime. #734

merged 1 commit into from
Jul 11, 2023

Conversation

sunfishcode
Copy link
Member

Mark init_clock and init_syscall (for 32-bit x86) as #[cold] so that the compiler moves calls to them out of line.

Also, add tests for all the infallible clocks.

Mark `init_clock` and `init_syscall` (for 32-bit x86) as `#[cold]` so
that the compiler moves calls to them out of line.

Also, add tests for all the infallible clocks.
@sunfishcode sunfishcode merged commit fe709b0 into main Jul 11, 2023
53 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/optimize branch July 11, 2023 14:50
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