Optimization method and device for system performance
A system performance and optimization method technology, applied in the computer field, can solve the problems of not improving system performance, multi-CPU load, large resource consumption, etc., and achieve the effect of reducing interactive resource consumption, context switching and message interaction process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] See figure 1 , Shows a step flowchart of Embodiment 1 of a method for optimizing system performance of the present invention, which may specifically include the following steps:
[0026] Step 101: Associate the interaction resources of the first function module and the second function module by configuring the first message processing interface of the first function module;
[0027] In the embodiment of the present invention, a function module can be used to indicate a module used to implement independent sub-functions in a program. That is, after each functional module completes the corresponding sub-function, these functional modules are combined to form a whole to meet the required functions of the entire program.
[0028] Considering that the functional modules in the program can run as an independent thread, the embodiment of the present invention implements the merging of threads by merging the functional modules, that is, by merging multiple functional modules originall...
Embodiment 2
[0075] The optimization method of the system performance of this embodiment is described in figure 1 On the basis of the illustrated embodiment, the following optional technical solutions may be further included.
[0076] See Figure 4 , Shows a flow chart of the steps of a method for creating a second functional module of the present invention, which may specifically include:
[0077] Step 401: Configure a second initialization interface and a second message processing interface of the second functional module;
[0078] The second initialization interface can be used to initialize the second function module. The initialization of the second function module may specifically include: preparation of an input environment, data resources, system resources, and so on.
[0079] In an application example of the present invention, the following format of the second initialization interface can be provided:
[0080] void module_init(void); (7)
[0081] Among them, module is the name of the module...
Embodiment 3
[0100] To enable those skilled in the art to better understand the present invention, see Figure 5 , Shows a step flow chart of an example of a method for merging the second functional module dpdcp and the first functional module drlc, which may specifically include:
[0101] Step 501: Create a second function module named dpdcp and an identification name of DPDCP and the corresponding current thread, and declare the second function module dpdcp in the process of creating the second function module dpdcp to apply for the second function module dpdcp Interactive resources;
[0102] Wherein, the process of creating a second functional module with a name of dpdcp and an identification name of DPDCP may specifically include: configuring a second initialization interface and a second message processing interface of the second functional module dpdcp, and declaring the second functional module to apply The interactive resources of the second functional module; specifically, it can be im...
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