Dynamic measurement method and device, electronic equipment and computer readable storage medium
A dynamic measurement and computer technology, which is applied in the field of microkernel, can solve the problems that the macrokernel system cannot be dynamically measured, and the operating status information of the macrokernel system cannot be detected.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] The embodiment of this application provides a dynamic measurement method, such as figure 2 As shown, the method includes:
[0036] Step S201. Obtain the current system information of the macrokernel system through the pre-created metric field.
[0037] For this embodiment of the present application, the current system information of the macrokernel system includes at least one of the following: an offset corresponding to a code segment in the macrokernel system; and an offset corresponding to a data segment in the macrokernel system.
[0038] For this embodiment of the present application, the current system information of the macrokernel system is acquired through the pre-created measurement field every first preset time.
[0039] For example, the preset time may be 10 seconds, 1 minute or 5 minutes.
[0040] Step S202: Determine the current system running status information of the macro-kernel system through the pre-created metric field and based on the current sys...
Embodiment 2
[0045] Another possible implementation of the embodiment of the present application further includes the operations shown in the second embodiment on the basis of the first embodiment, wherein,
[0046] Step S201 also includes step Sa (not shown in the figure) before step S201, wherein,
[0047] Step Sa, sending the preset system information of the macrokernel to the pre-created measurement domain through the microkernel.
[0048] Wherein, the preset system information includes at least one of the following: a memory loading address corresponding to the macro kernel; a symbol table corresponding to the macro kernel.
[0049] For the embodiment of the present application, when the macrokernel system is started, the microkernel is used to obtain the preset system information of the macrokernel system, and then the microkernel is used to send the preset system information of the macrokernel to the pre-created measurement domain. In the embodiment of the present application, the ma...
Embodiment 3
[0053] Another possible implementation of the embodiment of the present application further includes the operations shown in the third embodiment on the basis of the second embodiment, wherein,
[0054] Step S201 includes step S2011 (not shown in the figure), step S202 includes step S2021 (not shown in the figure), wherein,
[0055] Step S2011 , through the pre-created metric field, and based on the memory load address corresponding to the macro-kernel system, obtain the current system information of the macro-kernel system from the memory corresponding to the macro-kernel system.
[0056] For this embodiment of the application, the microkernel sends the memory load address corresponding to the macrokernel system to the pre-created metric domain, and the pre-created metric domain can obtain the current address of the macrokernel system from the memory corresponding to the macrokernel system with read-only authority. system information, including: the offset address of the code...
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