Tencent / GT

GT (Great Tit) is a portable debugging tool for bug hunting and performance tuning on smartphones anytime and anywhere just as listening music with Walkman. GT can act as the Integrated Debug Environment by directly running on smartphones.
http://gt.qq.com
4.39k stars 1.03k forks source link

【iOS】Xcode和GT测出来的CPU就是一模一样的 为什么内存就不一样呢? #17

Open r551 opened 7 years ago

r551 commented 7 years ago

Xcode和GT测出来的CPU就是一模一样的 为什么内存就不一样呢? 如采集GTDemo的内存: xcode 8.1M GT 21.23M

talisk commented 7 years ago

+1

chenqb commented 7 years ago

GT 、instrument Activity Monitor、top命令三者的内存值是一致的

tailangjun commented 7 years ago

同问

Jackie-Bai888 commented 6 years ago

楼主知道为啥没有??

SilongLi commented 6 years ago

有人说使用“ resident_size”的方式是不对的,应该使用“ phys_footprint”获取,测试了下用“phys_footprint”方式获取,确实和Xcode的数据相近,哪位大神解读下。http://www.samirchen.com/ios-app-memory-usage/

echooj commented 5 years ago

厉害啊

echooj commented 5 years ago

有人说使用“ resident_size”的方式是不对的,应该使用“ phys_footprint”获取,测试了下用“phys_footprint”方式获取,确实和Xcode的数据相近,哪位大神解读下。http://www.samirchen.com/ios-app-memory-usage/

为什么这样做了后,电量测试都是0了 ?