lfreist / hwinfo

cross platform C++ library for hardware information (CPU, RAM, GPU, ...)
MIT License
433 stars 74 forks source link

Supported Intel Turbo Boost Technology | Supported CPU Utilization Percentage across average or per Thread #51

Closed LukasFratzl closed 11 months ago

LukasFratzl commented 1 year ago

The old currentClockSpeed_MHz() sadly always returned the MaxClockSpeed, in my case I have an Intel CPU which is using Turbo Boost Technology which mean the Clock Speed sometimes goes above or below the MaxClockSpeed, these edits will take Turbo Boost into account...

LukasFratzl commented 1 year ago

Yes it looks now definitely cleaner ... the Jiffies struct does a good job^^

LukasFratzl commented 12 months ago

Hey, I have something important to do on my job which has currently the highest priority, please if you find the changes useful, accept the pull request and make the edits yourself :)

I'm pretty sure you're faster making the above-mentioned fixes, if not you definitely need to wait 2 weeks, or longer depending on how long it takes on my side....

lfreist commented 12 months ago

I will merge it as soon as I have the time to apply the fixes. Thank you for the contribution!