Commit Graph

21 Commits (23cdf7aacf244c476914485ee64c142895b4ea90)

Author SHA1 Message Date
medusalix 23cdf7aacf
Fix CPU power calculations 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