I am working on an application that creates a plugin similar to an interface (e.g. iPhone home screen). I have several pages and each page contains many subheadings. Each subheading is capable of detecting a touch and hold event. As soon as the touch and hold event is recognized, all subitems begin to oscillate.
One of the problems I am facing is that the CPU load increases to 99% when the sub-items are in the wobble state, and I change the page.
Tools have a tool called "CPU Sampler". I can not find a good set of documentation for this tool. I do not know how to read the result generated by this tool. Can someone give me a little tutorial or recommendations? Can I check which part of the code is responsible for CPU activity?
source share