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 basic Elbrus CPU temperature support #1508

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add basic Elbrus CPU temperature support
This currently hardcodes the node number (and there might be
other temperature labels and even other temperature modules
judging by some scripts in Rumia)
TheComputerGuy96 committed Dec 22, 2024
commit a4e602371385cf8978551603ce1fe57504f356c8
3 changes: 3 additions & 0 deletions src/cpu.cpp
Original file line number Diff line number Diff line change
@@ -537,6 +537,9 @@ bool CPUStats::GetCpuFile() {
// Only break if module has CPU node
if (find_input(path, "temp", input, "CPU"))
break;
} else if (name == "l_pcs") { // Elbrus temperature module
find_input(path, "temp", input, "Node 0 Max");
break;
} else {
path.clear();
}