Page size on iOS ARM64 returned by host_statistics64

孤人 提交于 2019-12-24 11:48:19

问题


Right now, I use the data returned from host_statistics64 and multiplying page counts by 4K to get the amount of memory in bytes. However, any call to get the system page size that I can think of returns 16K pages. Is there a call that will return the page size used by host_statistics64? Or is the page size fixed at 4K for that call?

来源:https://stackoverflow.com/questions/23801030/page-size-on-ios-arm64-returned-by-host-statistics64

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!