Method, device and system for determining program thread relationship
A technology of relationship determination and order relationship, applied in the information field, can solve problems such as inaccurate debugging of parallel programs, and achieve the effect of improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0059] figure 2 It is a flow chart of Embodiment 2 of the method for determining the thread relationship of the program of the present invention, as shown in figure 2 shown in figure 1 On the basis of the illustrated embodiment, this embodiment provides a feasible implementation manner of detecting the migration of the first thread in the target parallel program executed by the first processor in the system to the second processor, specifically including:
[0060] S111. Detect that the first thread is suspended;
[0061] Specifically, the register related to thread scheduling can determine whether the first thread in the program being executed is suspended. For example, the software thread number register provided by the current commercial processor can determine whether the software thread is suspended.
[0062] S112. Record the processor identifier of the first processor;
[0063]When the thread is suspended, the runtime management software clears the information of the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


