Interpreter for executing computer programs and method for collecting statistics
AssigneeVirtutech AB
InventorsFredrik Larsson, Bengt Werner, Peter Magnusson
Life of this patent
Estimating the term…
Abstract
The invention relates to a computer program interpreter and a method for the same, using statistics to group (SR89, SR17 . . . SR6; SR4, SR34 . . . SR16) frequently used service routines (SR) in the same program function and to control encoding of instructions. Frequently used service routines are assigned shorter codes thus enhancing the performance of a simulator or emulator.
Claims21
1-35. (canceled)
A computer-readable medium in combination with a simulator operable to execute a set of simulator instructions simulated by a plurality of service routines, the computer readable medium having computer-executable instructions for performing the steps of:
- monitoring a frequency of execution of each of the plurality of service routines;
- grouping a plurality of the service routines into one of a plurality of functions based on the frequency of execution of each service routine;
- and
- dynamically regrouping at least one service routine, during execution of the at least one service routine, into one of a plurality of functions based on the frequency of execution of the at least one service routine.
A computer program transmittable over a digital medium, said computer program for improving performance of a plurality of service routines used to simulate a set of instructions, the computer program including a set of computer-executable instructions for performing the steps of:
- monitoring frequency of execution of each of the plurality of service routines during execution of the computer program;
- grouping a plurality of the service routines into one of a plurality of functions based on the frequency of execution of each one of the service routines;
- and
- regrouping each service routine, dynamically during execution, into one of the plurality of functions based on its frequency of service routine execution relative to the frequency of service routine execution of every other one of the service routines.
A computer-readable medium in combination with a simulator operable to execute a set of simulator instructions simulated by a plurality of service routines, the computer readable medium having computer-executable instructions, comprising:
- a first set of computer-executable instructions that monitor frequency of execution of each one of the plurality of service routines;
- a second set of computer-executable instructions that assigns each one of the plurality of service routines into one of a plurality of function groups based on the frequency of execution of each service routine;
- and
- a third set of computer-executable instructions capable of reassigning at least one service routine from one of the plurality of function groups into a different one of the plurality of function groups based on its frequency of execution subsequent its previous function group assignment.
Dependencies are inferred from the claim text.