Back to results
US 7,398,518 B2Granted
Method and apparatus for measuring thread wait time
AssigneeIntel Corporation
InventorCarl R. Dichter
Life of this patent
Estimating the term…
Abstract
A method for analyzing a program includes identifying code in the program having high thread wait time. A task associated with the code is identified as a potential source of performance problem for the program.
Claims34
A method for analyzing a program, comprising:
- identifying a thread that is inactive in the program;
- identifying a next line of code to be run when the thread becomes active;
- identifying a total number of times the next line of code is identified as being a next line of code to be run by threads identified as being inactive;
- and
- determining that the next line of code should be modified if the total number of times exceeds a set number of times.
2 more elements
A program analyzer, comprising:
- a thread identifier to identity a thread that is inactive in the program;
- an inactive process identifier to identify a next line of code to be run in the thread when the thread becomes active;
- and
- a statistics unit to determine whether the thread is inactive due to the thread being blocked or due to the thread waiting for a processor and to write the status of the thread in a file.
1 more element
A method for analyzing a program, comprising:
- identifying a thread that is inactive in the program;
- identifying a next line of code to be run in the thread when the thread becomes active;
- and
- determining whether the thread is inactive due to the thread being blocked by another thread or whether the thread is inactive due to it waiting for a processor.
1 more element
A computer-readable medium having stored thereon sequences of instructions, the sequences of instructions including instructions which, when executed by a processor, causes the processor to perform:
- identifying a thread that is inactive in a program;
- identifying a next line of code to be run in the thread when the thread becomes active;
- and
- determining whether the thread is inactive due to the thread being blocked by another thread or whether the thread is inactive due to it waiting for a processor.
1 more element
Dependencies are inferred from the claim text.