Emil Velikov
|
42de1edc22
|
Rework cpu freq node handling
Similar to the prior commit - fscanf directly into the required data
type.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
|
2 years ago |
Alessandro Toia
|
fb97530965
|
cpu: Fix not reporting amd cpu power
|
2 years ago |
FlightlessMango
|
d71dd74685
|
Fix amdgpu watt and make it more granular
|
2 years ago |
FlightlessMango
|
d72099d1e7
|
Fixed issue with amdgpu metrics for APU
|
2 years ago |
FlightlessMango
|
6983c2ec39
|
Use gpu_metrics instead of libdrm when available
|
2 years ago |
Lukáš Horáček
|
4943129844
|
cpu: Add parentheses around assigment in if check
|
2 years ago |
Lukáš Horáček
|
e0cee5dbe3
|
cpu: Remove unused _power variable
|
2 years ago |
FlightlessMango
|
37e18279e7
|
mangoapp: use amdgpu metrics
|
2 years ago |
FlightlessMango
|
e7c59c55a2
|
Rewrite reading core mhz files
|
2 years ago |
FlightlessMango
|
337ecbc4cf
|
use scaling_cur_freq for cpu core mhz
|
3 years ago |
FlightlessMango
|
872c3f03a4
|
Show highest cpu freq instead of cumulative
|
3 years ago |
jackun
|
a82e27d978
|
Use spdlog macros so logging can be completely disabled during compile-time
|
3 years ago |
jackun
|
2f807a4c0d
|
Add `spdlog` wrap and logging
|
3 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 |
jackun
|
6ad9791ceb
|
Deduplicate code for `find_*_input` functions
|
3 years ago |
Witold Baryluk
|
26262e24ff
|
Improve initialization logic for cpu.cpp
Use smart pointers.
Get rid of gotos and labels.
|
4 years ago |
Lukáš Horáček
|
3726c90c7a
|
Add cpu_power
|
4 years ago |
FlightlessMango
|
553bf50e6a
|
Added cpu_mhz param
|
4 years ago |
jackun
|
c75232389b
|
A little more "atomic" cpu temp update for hud renderer; whitespace
|
4 years ago |
FlightlessMango
|
759c4aeed1
|
No need to 0 cpu temp every tick
|
4 years ago |
jackun
|
6ee225ed66
|
Clear cpu temp hwmon path if no supported sensor is found
|
4 years ago |
jackun
|
068157f3d8
|
Fix cpu fallback temp sensor logic
Break the for loop either way so `path` still points to sensor module's hwmon folder.
|
4 years ago |
FlightlessMango
|
71cbd66afb
|
Fixing cpu temp for core 2 duo CPUs
|
4 years ago |
jackun
|
d93a21589e
|
Find cpu temp sensor input by label or fallback to first `tempN_input`
|
4 years ago |
jackun
|
768297b430
|
[editorconfig] Apply whitespace rules
|
4 years ago |
FlightlessMango
|
bff9958284
|
Changed pthreads to std::thread
|
4 years ago |
jackun
|
712590befe
|
Check if CPU sensor file handle is valid
|
4 years ago |
jackun
|
9a7a4d99e0
|
Don't update CPU freq/temp if not enabled
|
4 years ago |
jackun
|
4adb6ed25f
|
Convert tabs to spaces in cpu.cpp/cpu.h
|
4 years ago |
jackun
|
05d61ee77e
|
Init CPUStats just once
|
4 years ago |
FlightlessMango
|
a2735693ba
|
Merge opengl into develop
|
4 years ago |
jackun
|
bf45bd9a02
|
Don't increment cpuData index inline
|
4 years ago |
jackun
|
217b65f0e9
|
Some cpu/gpu stats parsing fixes
|
4 years ago |
jackun
|
90416278e0
|
Total cpu periods
|
4 years ago |
FlightlessMango
|
1a60999243
|
New cpu implementation
|
4 years ago |