发明名称 Identifying thread progress information by monitoring transitions between interesting states
摘要 Embodiments relate to a method, apparatus and program product and for capturing thread specific state timing information. The method includes associating a time field and a time valid field to a thread data structure and setting a current time state by determining a previous time state and updating it according to a previously identified method for setting time states. The method further includes determining status of a time valid bit to see if it is set to valid or invalid. When the status is valid, it is made available for reporting.
申请公布号 US9218199(B2) 申请公布日期 2015.12.22
申请号 US201213684457 申请日期 2012.11.23
申请人 International Business Machines Corporation 发明人 Dawson Michael H.;Gray-Donald Trent A.
分类号 G06F9/44;G06F9/46;G06F11/34 主分类号 G06F9/44
代理机构 Cantor Colburn LLP 代理人 Cantor Colburn LLP
主权项 1. A method comprising: defining one or more interesting states for the thread in the thread data structure of the thread, wherein a phase exit point is defined for each of the one or more said interesting states; associating a time field and a time valid field with a thread data structure of a thread, wherein the time field comprises an estimate of a time at which the thread entered a current interesting state corresponding to one of the one or more defined interesting states, and wherein a status of the time valid field is set of one of valid and invalid; determining the status of the time valid field; based on the status of the time valid field being set to invalid: setting the time field;setting the time valid field to valid; andmaking the current time state in the time field available for reporting; based on the status of the time valid field being set to valid, making the current time state in the time field available for reporting; and based on a phase exit point of one of the one or more interesting states occurring in the thread, setting the time valid field to invalid, thereby making the current time state in the time field not available for reporting; wherein an error interval corresponding to an amount of time between a phase exit point occurring and setting of the time field is not included in the reporting of the time field.
地址 Armonk NY US
您可能感兴趣的专利