Memory access instruction instrumentation optimization method in multi-thread application scene
A multi-threaded application and optimization method technology, which is applied in the field of memory access instruction instrumentation optimization in multi-threaded application scenarios, can solve the problems of reducing the cost of instrumentation, decreased accuracy, and lack of versatility, so as to reduce overhead and scale , high versatility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0053] In this embodiment, a memory access instruction instrumentation optimization method in a multi-threaded application scenario is to eliminate redundant instrumentation of memory access instructions involving non-shared memory through a static analysis process based on program intermediate code, specifically , proceed as follows:
[0054] Step 1: Based on the open source LLVM compiler framework, compile the source program and obtain platform-independent intermediate code;
[0055] Step 2: traverse the modules contained in the intermediate code, obtain all functions from all modules, and then obtain all basic blocks from all functions, and execute steps 3 and 4 one by one for the instructions contained in all basic blocks;
[0056] Step 3: Obtain information about the current instruction based on the LLVM instruction type system and the provided interfaces getOperand() and isPointerOperand(), including: instruction type, instruction operand, and operand type;
[0057] Ste...
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