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

"CPU Core" voltage sensor for intel CPU's #682

Merged

Conversation

bjarniivarsson
Copy link
Contributor

No description provided.

Copy link
Collaborator

@PhyxionNL PhyxionNL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, few nits and I'll merge :)

@@ -420,6 +423,14 @@ public IntelCpu(int processorIndex, CpuId[][] cpuId, ISettings settings) : base(
}
}

if (Ring0.ReadMsr(IA32_PERF_STATUS, out eax, out uint _)) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge ifs.


if (_coreVoltage != null)
{
if (Ring0.ReadMsr(IA32_PERF_STATUS, out uint eax, out uint _))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same.

@PhyxionNL PhyxionNL merged commit e68fd4e into LibreHardwareMonitor:master Mar 1, 2022
@bjarniivarsson bjarniivarsson deleted the intel-cpu-core-voltage branch March 1, 2022 09:46
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.

None yet

2 participants