Invention Grant
- Patent Title: System and methods for precise microprocessor event counting
- Patent Title (中): 精确微处理器事件计数的系统和方法
-
Application No.: US13273035Application Date: 2011-10-13
-
Publication No.: US08855970B2Publication Date: 2014-10-07
- Inventor: Lakshminarasimhan Sethumadhavan , John D. Demme
- Applicant: Lakshminarasimhan Sethumadhavan , John D. Demme
- Applicant Address: US NY New York
- Assignee: The Trustees of Columbia University in the City of New York
- Current Assignee: The Trustees of Columbia University in the City of New York
- Current Assignee Address: US NY New York
- Agency: Hunter Clark PLLC
- Main IPC: G06F11/34
- IPC: G06F11/34

Abstract:
Method for providing precise microprocessor performance counter readings including detecting a swap back to a monitored process executing in a microprocessor. In response to the detected swap back to the monitored process, if the value read from the performance counter does not exceed the defined overflow threshold, the value of the performance counter stored in the first memory location is restored to the performance counter. If the value read from the performance counter exceeds the defined overflow threshold, the performance counter is set to zero and the value of the performance counter stored in the first memory location is used to increment an overflow memory location. If the value read from the performance counter exceeds the defined overflow threshold, at least one performance counter reading instruction is detected and in response to the detected at least one performance counter reading instruction, setting the counter output register to zero.
Public/Granted literature
- US20120123739A1 System and Methods for Precise Microprocessor Event Counting Public/Granted day:2012-05-17
Information query