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

Fix retrieval of OS monotonic time on Windows #8343

Merged

Conversation

rickard-green
Copy link
Contributor

@rickard-green rickard-green commented Apr 4, 2024

Fixed a more or less harmless bug that caused time correction of Erlang monotonic time to become slightly off on Windows platforms when QueryPerformanceCounter() was used as OS monotonic time source.

erlang:system_info(os_monotonic_time_source) now also returns information about used resolution which not always corresponds to the resolution of the OS monotonic time source.

@rickard-green rickard-green added team:VM Assigned to OTP team VM fix labels Apr 4, 2024
@rickard-green rickard-green added this to the OTP-26.2.4 milestone Apr 4, 2024
@rickard-green rickard-green self-assigned this Apr 4, 2024
Copy link
Contributor

github-actions bot commented Apr 4, 2024

CT Test Results

    3 files    143 suites   46m 0s ⏱️
1 571 tests 1 522 ✅ 49 💤 0 ❌
2 114 runs  2 041 ✅ 73 💤 0 ❌

Results for commit 0a1f990.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@rickard-green rickard-green changed the base branch from maint-26 to maint April 5, 2024 13:25
@rickard-green rickard-green force-pushed the rickard/win-os-monotonic/OTP-19048 branch from 9156a45 to 0a1f990 Compare April 5, 2024 16:56
@rickard-green rickard-green merged commit e39a535 into erlang:maint Apr 8, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix team:VM Assigned to OTP team VM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant