feat(libSceAgcDriver): show the CPU temperature on the overlay #17652
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17652"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-09T07:16:29Z.
What
Adds a
CPU: <n> Cline to the performance overlay's page 1, read once a second with the same sensorssceKernelGetCpuTemperaturealready uses on Linux. The VRAM line was already there, so this is the last part of the host readings. The line is not shown when no sensor reports a value.To read the sensors from the overlay, the reader moved out of libkernel into its own static library,
anyps5_thermal_reader, linked into both libkernel and libSceAgcDriver. The first commit is that move, with no behaviour change: the reader and its guest-facing functions are the same, andPlausiblemoved into the shared header.Commits: the move, the test expectation (which does not compile before the feature commit, since the field does not exist yet), the test for the absent line, the feature, and the usage doc row.
Tested
Linux, built with
agc_performance_overlay_statistics_tests,agc_performance_overlay_testsandguest_thermal_sensors_tests; ctest passes 3/3.CPU: 54 Cline when a reading is set, and checks that noCPUline appears without one./sys/class, so the line stays hidden there; the doc row says so.GPUs tested: n/a, the change is a text line and a sensor read.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)