Related question: How do i get the CPU usage, for the current process only, on Cocoa and Win32.
I'd like to get the same value that shows up in Activity Monitor's CPU% column, and for windows Task Manager. I'm only interested in the CPU usage for the currently running process. For Cocoa, I see DarwinVMStatisticsMBS but I'm not clear if that's per-process or global? For Win32, should I use WindowsProcessStatisticsMBS? Is it per-process or global? Thanks > On Sep 21, 2015, at 6:44 PM, Michael Diehr <[email protected]> wrote: > > Perfect! thank you :-) > >> On Sep 21, 2015, at 1:40 AM, Christian Schmitz >> <[email protected]> wrote: >> >> >>> Am 21.09.2015 um 02:39 schrieb Michael Diehr <[email protected]>: >>> >>> See this thread: >>> http://stackoverflow.com/questions/10110658/programmatically-get-gpu-percent-usage-in-os-x >>> >>> Is there anything in MBS which can do this (read the GPU's cpu %, used and >>> free Vram numbers)? >>> >> >> See the "GPU Performance Statistics" project included with Examples. >> >> Sincerely >> Christian >> >> -- >> Read our blog about news on our plugins: >> >> http://www.mbsplugins.de/ >> >> _______________________________________________ >> Mbsplugins_monkeybreadsoftware.info mailing list >> [email protected] >> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info > > _______________________________________________ > Mbsplugins_monkeybreadsoftware.info mailing list > [email protected] > https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
