开发者

Get Device Memory Xcode

开发者 https://www.devze.com 2023-01-22 06:06 出处:网络
I really need to know of 开发者_运维知识库a way to get the current device’s: Active Memory Inactive Memory

I really need to know of 开发者_运维知识库a way to get the current device’s:

  1. Active Memory
  2. Inactive Memory
  3. Wired Memory
  4. Free Memory
  5. Total Memory

Any information, code or anything is helpful.

Thanks in advance.


The desktop uses the Mach call host_statistics64() to get that information. You can see it in use in the source code for the vm_stat command.

0

精彩评论

暂无评论...
验证码 换一张
取 消