YueChen-C / py-ios-device

IOS Professional Performance Testing Tool . You can get CPU, GPU, Memory , Lifecycle and other metrics from real iOS devices . iOS 性能测试工具
GNU General Public License v3.0
686 stars 188 forks source link

How to obtain memory used by pid like Instruments app #113

Closed morellexf13 closed 1 year ago

morellexf13 commented 1 year ago

When I use Instruments app (screenshot below) I can see that my app is using 68,77 MiB. On pyidevice, how can I access this field? What's the name? I'm currently using the memResidentSize but the value is different/greater (122257408 Bytes). So apparently it's the wrong one.

Captura de pantalla 2023-06-19 a la(s) 11 52 51
YueChen-C commented 1 year ago

use physFootprint

refer to pyidevice instruments appmonitor -b cn.rongcloud.im