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 Windows CPU frequency not refreshing #1395

Merged

Conversation

Huntragon
Copy link

Fixes #1390
This was probably caused by legacy code, the CPU frequency on windows would only be read once, which was controlled by a boolean. Since now the refresh is controlled by an externally provided CpuRefreshKind, this boolean was no longer needed, so by removing it the frequency can be refreshed whenever it is requested.

@GuillaumeGomez
Copy link
Owner

Thanks!

@GuillaumeGomez GuillaumeGomez merged commit b67c917 into GuillaumeGomez:master Nov 26, 2024
66 of 67 checks passed
@Huntragon Huntragon deleted the windows_frequency_not_updating branch November 26, 2024 11:20
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.

Windows CPU frequency does not refresh
2 participants