IOS lag monitoring method and system
A monitoring system and lagging technology, applied in hardware monitoring, instrumentation, electrical digital data processing, etc., can solve problems such as cover-up, difficulty in troubleshooting, and inability to monitor GPU
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] Such as figure 1 A kind of IOS freeze monitoring method of the present invention as shown, comprises the following steps:
[0025] S1: When there is a rendering task, first create a new first layer in the GPU;
[0026] The IOS system rendering framework calls the drawing method to obtain the drawing instructions sent by the CPU, and then submits the instructions to the GPU for rendering. During the rendering period of the GPU, the rendering framework will occupy the Runloop of the thread that currently submits the drawing instructions. On the IOS platform, Apple requires that these UI operations must be performed on the main thread, which causes the Runloop of the CPU's main thread to be occupied when the GPU is performing rendering operations, making it impossible to determine whether the CPU is stuck due to the GPU's lag, and thus It directly affects the accuracy of monitoring, so the present invention sets up a new layer Layer when receiving a rendering instruction,...
Embodiment 2
[0033] A monitoring system for IOS freezing, comprising:
[0034] Rendering processing module: when there is a rendering task, a new first layer is first established in the GPU, and the drawing instruction is submitted from the background to the GPU through the first layer, and then the GPU performs subsequent rendering instructions;
[0035] Monitoring module: establish a first sub-thread for monitoring the GPU in the CPU, and monitor the freeze of the GPU through the first sub-thread.
[0036] In a preferred embodiment, it also includes:
[0037] Monitoring storage module: establish a new processing sub-thread in the CPU, process the GPU processing frequency output by the first sub-thread through the processing sub-thread, and save the result as monitoring data.
[0038] The present invention mainly focuses on providing a method for independently monitoring the GPU of the IOS system to ensure the accuracy of CPU monitoring. The processing parts that are not described in the...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com