Invention Grant
- Patent Title: Idle transitions sampling with execution context
- Patent Title (中): 空闲转换采样与执行上下文
-
Application No.: US12786381Application Date: 2010-05-24
-
Publication No.: US09176783B2Publication Date: 2015-11-03
- Inventor: Kean G. Kuiper , Frank E. Levine , Enio M. Pineda
- Applicant: Kean G. Kuiper , Frank E. Levine , Enio M. Pineda
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Konrad, Raynes, Davda & Victor LLP
- Agent Janaki K. Davda
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F9/44 ; G06F9/50

Abstract:
A process generates a sample based on an event. The process identifies, with a dispatch monitor, a next dispatched monitored thread that is dispatched by a current processor. The process sets a processor affinity of the next dispatched monitored thread such that the next dispatched monitored thread runs only on the current processor without being able to migrate to a different processor. The process also retrieves, with a sampled thread that runs on the current processor, a next dispatched monitored thread call stack after the processor affinity of the next dispatched monitored thread has been set to the processor. The process restores the processor affinity of the next dispatched monitored thread after the next dispatched monitored thread call stack has been obtained.
Public/Granted literature
- US20110289361A1 IDLE TRANSITIONS SAMPLING WITH EXECUTION CONTEXT Public/Granted day:2011-11-24
Information query