Commit Graph

20 Commits (master)

Author SHA1 Message Date
bouhaa f964702aea integrate zenergy into Mangohud
Reuses most of the RAPL code paths
10 months ago
Bouke Haarsma f1a6753796 Use k10-temp power sensors if exist 10 months ago
sfrcorne a98a402619 Fix for AMD Ryzen 7000 CPU when using the iGPU. 1 year ago
FlightlessMango 06b46fd5d7 Fix building with mingw 1 year ago
jackun e4b23c937e
Deal with disappearing cpus
Reinit if cpu is brought offline/online, e.g. `echo 0 > /sys/devices/system/cpu/cpu1/online`

Fix #737
2 years ago
FlightlessMango 1940a83566 mangoapp: don't assume APU for temps 2 years ago
FlightlessMango d71dd74685 Fix amdgpu watt and make it more granular 2 years ago
FlightlessMango 37e18279e7 mangoapp: use amdgpu metrics 2 years ago
medusalix 560930214a Fix CPU power calculations 3 years ago
jackun ae410f01e7
Re-init cpu stats if core count changes; fix off-by one error
Helps with #438
3 years ago
Witold Baryluk 558b8eb093 Properly initialize file pointers to null
If in `init_cpu_power_data_k10temp` we fail to initialize all paths,
and fail initialization, then in the destructor, we will most likely
pass invalid value to the `fclose`.
4 years ago
Lukáš Horáček 3726c90c7a
Add cpu_power 4 years ago
FlightlessMango 553bf50e6a Added cpu_mhz param 4 years ago
larskraemer a28931ef6b
General cleanup (#272)
* Cleanup unused struct fields, use uniform include guards
4 years ago
jackun 768297b430
[editorconfig] Apply whitespace rules 4 years ago
jackun 712590befe
Check if CPU sensor file handle is valid 4 years ago
jackun 4adb6ed25f
Convert tabs to spaces in cpu.cpp/cpu.h 4 years ago
FlightlessMango a2735693ba Merge opengl into develop 4 years ago
jackun 90416278e0
Total cpu periods 4 years ago
FlightlessMango 1a60999243 New cpu implementation 4 years ago