Real-time frame data monitoring method and system for IOS application, device and storage medium
A monitoring system and real-time frame technology, applied in hardware monitoring, electrical digital data processing, error detection/correction, etc., can solve problems such as unable to manage IOS application running status, unable to measure user performance, etc., to achieve small memory usage and small code Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] see figure 1 As shown, the embodiment of the present invention provides a real-time frame number monitoring method for IOS applications:
[0039] S1, define an Objective-C class, and implement singleton loading of this class;
[0040] S2, create a CADisplayLink when the Objective-C class is initialized, and bind the callback method of the CADisplayLink, and register the CADisplayLink to the IOS running cycle;
[0041] S3, each time the IOS running cycle ends, call the callback method bound on CADisplayLink to calculate the current frame number; the callback method includes:
[0042] Read the attribute frame interval from CADisplayLink, calculate the time interval between two calls according to the timestamp of the current call to CADisplayLink and the timestamp of the last call to CADisplayLink, and calculate the time interval from the attribute frame interval of each call to CADisplayLink in the accumulated time interval The cumulative number of frames within the frame...
Embodiment 2
[0050] The embodiment of the invention discloses a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, a real-time frame number monitoring method for an IOS application is realized.
[0051] The storage medium of the embodiment of the present invention stores a real-time frame number monitoring method for implementing IOS applications. The required code for developing Objective-C classes at the IOS mobile terminal is small, and the memory occupation is also small during operation. Therefore, this program can realize IOS applications in mobile Effective management of the real-time frame number of the IOS application on the mobile terminal after the terminal is released.
Embodiment 3
[0053] The embodiment of the invention discloses an electronic device, which includes a memory and a processor, wherein a computer program running on the processor is stored in the memory, and a real-time frame number monitoring method of an IOS application is realized when the processor executes the computer program.
[0054] The computer program running on the processor is stored in the memory of the embodiment of the present invention, and the real-time frame number monitoring method of the IOS application is realized when the processor executes the computer program. The code required to develop Objective-C classes on the IOS mobile terminal is small, and the runtime memory is also small. Therefore, this solution can realize the effective management of the real-time frame number of the IOS application on the mobile terminal after the IOS application is released on the mobile terminal.
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