문제

Is this possible with Xamarin.IOS / monotouch to access the CPU usage stats?

I've searched for an API similar to what Android SDK makes accessible [/proc/stat] but found nothing, so I cannot integrate any line of code to monitor the CPU.

(I've gave a look at XCode Instruments but they are really resource consuming on my machine and slow down my application at such a point that I can't even interact with it. I have one line of code to monitor the global memory usage and would appreciate to only add a second line of code to monitor the CPU, instead of launching something throttled at 0.1 nanosecond that dumps 4GB of stock per second. I'm kidding a bit, but that summarizes my point.)

도움이 되었습니까?

해결책

No. Apple does not provide any public APIs for this data.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top