troybowman / ios_instruments_client

MIT License
185 stars 38 forks source link

Could you please give me some advice ? #6

Open bobiscool opened 3 years ago

bobiscool commented 3 years ago

Could you please give me some advice ? How can I get the cpu usage meminfo by entending you code? Is there any route or infos ? Thanks a lot!

troybowman commented 3 years ago

This will be a difficult task. You will have to do some heavy reverse-engineering of the DVTInstrumentsFoundation framework (and possibly more, I don't know where exactly the logic is that monitors cpu usage).

You could start by reading my slides: https://github.com/troybowman/dtxmsg/blob/master/slides.pdf

This will give you some overview, and you might be able to use the same strategy to reverse the cpu usage logic.

bobiscool commented 3 years ago

thanks a lot!