Methods for execution control acquistion of a program and for executing an optimized version of a program
First Claim
1. A method for executing an optimized version of a program, comprising:
- executing an optimized version of a program;
receiving an interrupt during execution of the optimized version of the program and returning execution control to an operating system;
executing an original version of the program;
monitoring a hardware performance counter during the executing of the original version of the program;
when the hardware performance counter reaches a threshold during the executing of the original version of the program, switching execution control to a dynamic optimizer; and
continuing the executing of the optimized version of the program as directed by the dynamic optimizer.
2 Assignments
0 Petitions
Accused Products
Abstract
In a method for execution control acquisition of a program, during the execution of the program, it is determined when a hardware performance counter has reached a threshold. When the threshold is reached, execution control is switched to a dynamic optimizer. Thereafter, an optimized version of the program is executed. In a method for executing an optimized version of a program, during execution of the optimized version, an interrupt is received and execution control is returned to an operating system. An original version of the program is then executed. During the execution of the original version, a hardware performance counter is monitored. When the hardware performance counter reaches a threshold during the execution of the original version, execution control is switched to a dynamic optimizer. Thereafter, the execution of the optimized version of the program is continued as directed by the dynamic optimizer.
34 Citations
18 Claims
-
1. A method for executing an optimized version of a program, comprising:
- executing an optimized version of a program;
receiving an interrupt during execution of the optimized version of the program and returning execution control to an operating system; executing an original version of the program; monitoring a hardware performance counter during the executing of the original version of the program; when the hardware performance counter reaches a threshold during the executing of the original version of the program, switching execution control to a dynamic optimizer; and continuing the executing of the optimized version of the program as directed by the dynamic optimizer. - View Dependent Claims (2, 3, 4, 5, 6, 7)
- executing an optimized version of a program;
-
8. Computer readable media having encoded thereon a computer program including a set of program instructions for causing a computer to execute an optimized version of a program, the computer program comprising:
-
program instructions for executing an optimized version of a program; program instructions for receiving an interrupt during execution of the optimized version of the program and returning execution control to an operating system; program instructions for executing an original version of the program; program instructions for monitoring a hardware performance counter during the executing of the original version of the program; program instructions for switching execution control to a dynamic optimizer when the hardware performance counter reaches a threshold during the executing of the original version of the program; and program instructions for continuing the executing of the optimized version of the program as directed by the dynamic optimizer. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A method for executing an optimized version of a program, comprising:
-
executing an optimized binary code file for a program; receiving an interrupt during execution of the optimized binary code file for the program and returning execution control to an operating system; executing original binary code for the program; monitoring a hardware performance counter during the executing of the original binary code for the program; when the hardware performance counter reaches a threshold that is indicative of unacceptable performance during the executing of the original binary code for the program, switching execution control to a dynamic optimizer; and continuing the executing of the optimized binary code file for the program as directed by the dynamic optimizer. - View Dependent Claims (14, 15, 16)
-
-
17. Computer readable media having encoded thereon a computer program including a set of program instructions for causing a computer to execute an optimized version of a program, the computer program comprising:
-
program instructions for executing an optimized binary code file for a program; program instructions for receiving an interrupt during execution of the optimized binary code file for the program and returning execution control to an operating system; program instructions for executing original binary code for the program; program instructions for monitoring a hardware performance counter during the executing of the original binary code for the program; program instructions for switching execution control to a dynamic optimizer when the hardware performance counter reaches a threshold that is indicative of unacceptable performance during the executing of the original binary code for the program; and program instructions for continuing the executing of the optimized binary code file for the program as directed by the dynamic optimizer. - View Dependent Claims (18)
-
Specification