发明名称 Synchronization activity recording system for a concurrent software environment
摘要 The present disclosure provides a method for identifying idleness in a processor via a concurrent software environment. A thread state indicator records an indication of a synchronization state of a software thread that is associated with an identification of the software thread. A time profiler identifies a processor of the computer system being idle and records an indication that the processor is idle. A dispatch monitor identifies a dispatch of the software thread to the processor. In response to the dispatch monitor determining the indication identifies that the processor is idle and the indication of a synchronization state of the software thread indicating the software thread ceases to execute in the processor, the dispatch monitor generates a record attributing the idleness of the processor to the software thread and the indicated synchronization state.
申请公布号 US9471458(B2) 申请公布日期 2016.10.18
申请号 US201414473746 申请日期 2014.08.29
申请人 International Business Machines Corporation 发明人 Levine Frank Eliot;Siegwart David Kevin;Pineda Enio Manuel
分类号 G06F9/46;G06F9/455;G06F11/34 主分类号 G06F9/46
代理机构 代理人 Edwards Mark G.
主权项 1. A method for recording activity for a concurrent software environment executing one or more software threads in a computer system comprising a plurality of processors, each processor comprising a program counter, the method comprising: recording, by a thread state indicator, an indication of a synchronization state of a software thread of the one or more software threads in which the software thread ceases to execute in a processor of the plurality of processors of the computer system, wherein the indication of the synchronization state is associated with an identification of the software thread; polling at regular intervals, by a time profiler, values of the program counter for the processor; identifying, by the time profiler and based on the values of the program counter, the processor of the computer system becoming idle, wherein the processor is idle when the value of the program counter indicates that the processor has no software thread dispatched to execute therewith; identifying, by a dispatch monitor, a dispatch of the software thread to the processor; recording, by the time profiler, an indication that the processor is idle; and generating, in response to the recording of the indication that the processor is idle and the indication of the synchronization state of the software thread indicating the software thread ceases to execute in the processor, a record, wherein the record attributes an idleness of the processor to the software thread and the indicated synchronization state.
地址 Armonk NY US