Application program lag problem data obtaining method and device
An application and problem data technology, which is applied in the field of application stuck problem data acquisition
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0025] The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.
[0026] refer to figure 1 , figure 1 It is a flow chart of an embodiment of the data acquisition method for the application freeze problem of the present invention, including:
[0027] Step S101: Calculate the processing time of the execution messages that need to be monitored in the application program.
[0028] Android applications are message-driven. Android implements the message loop mechanism through Looper and Handler. The Android message loop is for threads (that is, each thread can have its own message queue and message loop).
[0029] Android's message loop is mainly composed of four elements: Message, MessageQueue, Looper and Handler, of which:
[0030] Message: Indicates a specific message;
[0031] MessageQueue: Indicates the message queue, and the specific message is added to the message queue after it is generated;
[0032] Looper: ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 