首页>
外国专利>
EXECUTION MULTI-THREAD TIME PROFILING METHOD, EXECUTION STATE DECIDING METHOD FOR SELECTED THREAD, TIME PROFILING SYSTEM AND COMPUTER REDABLE RECORDING MEDIUM
EXECUTION MULTI-THREAD TIME PROFILING METHOD, EXECUTION STATE DECIDING METHOD FOR SELECTED THREAD, TIME PROFILING SYSTEM AND COMPUTER REDABLE RECORDING MEDIUM
PROBLEM TO BE SOLVED: To provide the method and system capable of time-profiling a multithreaded application and its system. SOLUTION: In this execution state deciding method, whether or not a selected thread for execution of a multithreaded program is in the middle of running is decided by (1) suspending the execution of the multithreaded program (step 310), (2) acquiring register data corresponding to the selected thread (step 320), (3) calculating register information based on the register data (step 325), (4) comparing the calculated register information with register data stored from the time of the preceding suspension of the multithreaded program (step 330) and (5) recognizing that the selected thread is in the middle of running when the calculated register information is different from storage register information (step 335: No). It is preferable that this (5) operation updates the preceding register information based on the calculated register information (step 340) and distributes an identifier corresponding to a program part that holds the selected thread.
展开▼