Multi-core program memory competition recording and replaying method realized by signature
A memory and program technology, applied in the field of multi-core program memory competition recording, can solve the problems of low efficiency during replay, only focus on memory competition recording performance, ignore memory competition replay performance, etc., achieve efficient memory competition replay, improve efficiency, and reduce hardware overhead small effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0028] Specific implementation mode one, combination figure 1 To describe this embodiment in detail, the method for recording and replaying the memory competition of a multi-core program using signatures described in this embodiment includes the following steps:
[0029] Step 1. In the original execution stage of the multi-core program, enable the memory competition recording function, and each processor core starts memory competition recording;
[0030] Step 2: After the memory competition record of all the processor cores is completed, enter the multi-core program replay stage and turn on the memory competition replay function.
Example Embodiment
[0031] Specific implementation mode two, combination figure 2 Explaining this embodiment in detail, the difference between this embodiment and the method for multi-core program memory competition recording and replay using signatures described in the first embodiment is that: in the original execution stage of the multi-core program described in step 1, the memory competition recording function is turned on The operation steps for each processor core to start memory competition recording are as follows:
[0032] A. The requester issues an instruction. If the instruction is a read memory operation instruction, the value of IC is increased by 1, and the value of the IC is the instruction count value, and the address of the read memory block is added to all read signature registers At the same time, the requester sends a shared memory request message to the consistency protocol mechanism of each processor, and execute step B; multi-core processors have a consistency protocol control...
Example Embodiment
[0039] Specific implementation mode three, combination image 3 Detailed description of this embodiment The difference between this embodiment and the method for multi-core program memory competition recording and replay using signatures described in the first embodiment is that: when the memory competition recording of all processor cores is completed as described in step 2, Enter the multi-core program replay stage and enable the memory competition replay function. The operation steps for each processor core are as follows:
[0040] E. When the processor core starts to run, read a record from the memory competition log of the thread running on the processor, and store it in the register used during the memory competition record, and execute step F;
[0041] F. The processor core detects the record dependency. If the record is a pseudo dependency, after executing its corresponding instruction, it creates a wake-up message and sends it to the corresponding processor through the cons...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap