gpt4 book ai didi

iphone - 获取设备内存 Xcode

转载 作者:行者123 更新时间:2023-12-03 20:57:25 24 4
gpt4 key购买 nike

我真的需要知道一种获取当前设备的方法:

  1. 事件内存
  2. 非事件内存
  3. 有线内存
  4. 可用内存
  5. 总内存

任何信息、代码或任何东西都有帮助。

提前致谢。

最佳答案

桌面使用 Mach 调用 host_statistics64() 来获取该信息。您可以在 source code for the vm_stat command 中看到它的使用情况.

关于iphone - 获取设备内存 Xcode,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4047082/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com