Measure cpu usage


#1

Is there a function in Juce to give me the cpu usage (percentage) ?


#2

What exactly you mean by cpu percentage…?


#3

how much of the cpu is being used. Kind of like the performance display in the activity monitor on osx, or the performance tab in the task manager on windows.
I found a getCpuUsage function in the AudioDeviceManager, which is audio process specific, but I was wondering if there’s also like a global cpu usage function.


#4

Sorry, I’ve never delved into the OS monitoring APIs.


#5

Is the getCpuUsage a different meaning than what the task manager gives. Can I approximate using this value?