Task switch immunized performance monitoring
AssigneeInternational Business Machines Corporation
InventorsGILES R. FRAZIER, David S. Levitan, Brian R. Mestan
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsGILES R. FRAZIER, David S. Levitan, Brian R. Mestan
Estimating the term…
A performance monitoring technique provides task-switch immune operation without requiring storage and retrieval of the performance monitor state when a task switch occurs. When a hypervisor signals that a task is being resumed, it provides an indication, which starts a delay timer. The delay timer is resettable in case a predetermined time period has not elapsed when the next task switch occurs. After the delay timer expires, analysis of the performance monitor measurements is resumed, which prevents an initial state or a state remaining from a previous task from corrupting the performance monitoring results. The performance monitor may be or include an execution trace unit that collects taken branches in a current trace and may use branch prediction success to determine whether to collect a predicted and taken branch instruction in a current trace or to start a new segment when the branch resolves in a non-predicted direction.
A method of making performance measurements of a program executing within a computer system, the method comprising:
A computer system comprising:
A processor core for executing a program, the processor core comprising:
A computer program product comprising a computer readable storage medium storing program instructions for execution by a processor within a computer system, wherein the program instructions comprise program instructions for managing the execution of multiple programs in the computer system, the program instructions comprising program instructions for:
The computer program of claim 24, wherein the program instructions for providing the indication to the dedicated hardware performance monitoring unit are repeated each time the execution of the given program is suspended and resumed, whereby the hardware performance monitor unit extends the time that the analysis is postponed each time the indication is provided to the dedicated hardware performance monitoring unit.
Dependencies are inferred from the claim text.