Invention Grant
- Patent Title: Context switch sampling
- Patent Title (中): 上下文切换采样
-
Application No.: US12420815Application Date: 2009-04-08
-
Publication No.: US08346509B2Publication Date: 2013-01-01
- Inventor: Robert Davies
- Applicant: Robert Davies
- Applicant Address: US CA Santa Clara
- Assignee: Intel Corporation
- Current Assignee: Intel Corporation
- Current Assignee Address: US CA Santa Clara
- Agency: Caven & Aghevli LLC
- Main IPC: G06F11/30
- IPC: G06F11/30 ; G21C17/00

Abstract:
A method for performance monitoring in a computing system is described. In some embodiments, an addressable memory stores data and instructions for performing context switch sampling. A processor includes hardware event counters, and is coupled with the addressable memory to access said instructions and in response to said instructions, the processor counts occurrences of a first hardware event in a first hardware event counter and counts occurrences of a second hardware event in a second hardware event counter. After a specified number of occurrences of the first hardware event have been counted, the second hardware event counter is sampled and hardware event counters are reset. In some embodiments the processor counts occurrences of segment register load events in the first hardware event counter and then records the sampled second hardware event counter value with a process identifier value and/or a thread identifier value.
Public/Granted literature
- US20100262870A1 CONTEXT SWITCH SAMPLING Public/Granted day:2010-10-14
Information query