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
634 stars 179 forks source link

Feature request: CPU name #87

Open dipcse07 opened 1 year ago

dipcse07 commented 1 year ago

I would be great if we could get CPU brand name such as intel or M1, M2 etc for ios . Also SOC info

As I am an iOS app developer i also wanted to learn how to do code for this kind of stuff but dont know where to start.. can anyone give me any advice from where i can start?

YueChen-C commented 1 year ago

pyidevice instruments stackshot --out=./stackshot.json . View the osversion field "osversion": "Darwin Kernel Version 21.4.0: Mon Feb 21 21:27:53 PST 2022; root:xnu-8020.102.3~1/RELEASE_ARM64_T8030"

YueChen-C commented 1 year ago

You can also use different parameters of the 'com.apple.instruments.server.services.coreprofilesessiontap' service to get more kernel data.

Most functions are implemented by reverse engineering instruments, so there are few references

dipcse07 commented 1 year ago

@YueChen-C at least if i could know from where i can start to do code like you are doing that would also be a great help.. or any guide from where i can start learning... 🙏🙏🙏 i may also be able to contribute here.... after i learn a bit of coding for this....