发明名称 CONTEXT SWITCH SAMPLING
摘要 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.
申请公布号 US2010262870(A1) 申请公布日期 2010.10.14
申请号 US20090420815 申请日期 2009.04.08
申请人 DAVIES ROBERT L 发明人 DAVIES ROBERT L.
分类号 G06F11/00;G06F11/34 主分类号 G06F11/00
代理机构 代理人
主权项
地址