iOS-Monitor-Platform
iOS-Monitor-Platform copied to clipboard
Readme里关于`vm_statistics_data_t`的描述
感谢分享,收获很大。
文章里有一段
读者可能会看到有些代码会使用 vm_statistics_data_t 结构体,但是这个结构体是32位机器的,随着 Apple 逐渐放弃对32位应用的支持,所以建议读者还是使用 vm_statistics64_data_t 64位的结构体。
但我看到14.5的头文件定义里
/* Used by all architectures */
typedef struct vm_statistics *vm_statistics_t;
typedef struct vm_statistics vm_statistics_data_t;
是不是实际上用vm_statistics_data_t更好一些?