Apparatus for collecting profiles of programs
OwnerYutaka Hagainventor
Life of this patent
Estimating the term…
Abstract
According to an apparatus for collecting a profile of a program, a CPU generates an interrupt when a branch instruction is executed during the execution of the program. In this interrupt, an analyzing section determines whether the executed branch instruction is a instruction relating to the execution of a subroutine, and, in the case where the branch instruction is a instruction relating to the execution of the subroutine, a collecting section extracts a profile of the subroutine and stores it in a profile memory section.
Claims39
An apparatus for collecting a profile of a subroutine in a program, the apparatus collecting the profile of said subroutine by using an interrupt generated when a branch instruction is executed during execution of said program.
A computer readable medium stores a program in order that a computer executes a process for collecting a profile of a subroutine included another program as an analizing target, said program comprising steps of:
- identifying, when an interrupt is generated by an execution of a brunch instruction during the execution said other program, whether or not said executed brunch instruction is an instruction relating to the execution of said subroutine;
- obtaining, when said brunch instruction is the instruction relating to the execution of said subroutine, said profile of said subroutine;
- and
- storing said profile in a storage unit.
A computer readable medium according to claim 19, wherein said program further comprises steps of:
- specifying an executor of said subroutine;
- and
- storing said profile in a storage unit corresponding to said specified executor within a plurality of storage unit provided with each executor.
A method for collecting a profile of a subroutine in a program, comprising steps of:
- identifying, when an interrupt is generated by an execution of a brunch instruction during the execution the program, whether or not the executed brunch instruction is an instruction relating to the execution of the subroutine;
- obtaining, when the brunch instruction is the instruction relating to the execution of the subroutine, the profile of the subroutine;
- and
- storing the profile in a storage unit.
Dependencies are inferred from the claim text.