IP Library Patent Application 12210552
Patent Application
App. No. 12/210,552

PROFILING METHOD AND PROGRAM

Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US None
App. No.
12/210,552
Abstract

A profiling method for collecting, using a computer, information on an execution status of a target program. Information collection is performed for the target program using an interrupt handler that is initiated in response to an interrupt that occurs when a predetermined condition is satisfied. The profiling method includes specifying a target range in which information collection is to be performed using the interrupt handler, in the target program,; and setting information collected by the interrupt handler in a memory when the interrupt occurs in the target range.

Claims (29)

1 . A profiling method for collecting, using a computer, information on an execution status of a target program for which information collection is performed using an interrupt handler that is initiated in response to an interrupt that occurs when a predetermined condition is satisfied, the profiling method comprising:

specifying a target range in which information collection is to be performed using the interrupt handler in the target program; and

setting information collected by the interrupt handler in a memory when the interrupt occurs in the target range.

2 . The profiling method according to claim 1 , wherein, the target range is specified when a profiling program including the interrupt handler and a code range marking symbol source or object are to be linked with the target program.

3 . The profiling method according to claim 1 , wherein the interrupt occurs on the basis of a count value of a hardware counter that counts the occurrence of events inside the computer or the occurrence of an exchange with a component outside the computer.

4 . The profiling method according to claim 1 , further comprising setting the area being associated with an individual instruction in an area of the memory, and

setting a sampling value and hardware event information included in the information collected by the interrupt handler as the number of times execution has been performed or the number of events that have occurred in the area of the memory.

5 . The profiling method according to claim 1 , further comprising:

identifying a sampling value included in the information collected by the interrupt handler with an execution form program,

comparing functions, processes, and instructions having a high execution frequency with one another,

identifying the functions, the processes, and the instructions with a corresponding C source or machine word instruction, and

displaying the functions, the processes, and the instructions on a display unit of an analysis processor connected to the computer.

6 . The profiling method according to claim 1 , further comprising:

merging a sampling value and hardware event information included in the information collected by the interrupt handler, and

storing the merged result as an experience value in the memory.

7 . A computer-readable recording medium that stores therein a computer program for making a computer execute profiling for collecting information on an execution status of a target program for which information collection is performed using an interrupt handler that is initiated in response to an interrupt that occurs when a predetermined condition is satisfied, the computer program making the computer execute:

specifying a target range in which information collection is performed using the interrupt handler in the target program; and

setting information collected by the interrupt handler in a memory when the interrupt occurs in the target range.

8 . The computer-readable recording medium according to claim 7 , wherein the computer program further makes the computer execute specifying the target range in the target program when a profiling program including the interrupt handler is to be linked with a code range marking symbol source or object.

9 . The computer-readable medium according to claim 7 , wherein the interrupt occurs on the basis of a count value of a hardware counter for counting the occurrence of events inside the computer or the occurrence of an exchange with a component outside the computer.

10 . The computer-readable medium according to claim 7 , wherein the computer program makes the computer execute setting the area being associated with each instruction in an area of the memory, and

setting a sampling value and hardware event information included in the information collected by the interrupt handler as the number of times execution has been performed in the area of the memory.

11 . The computer-readable medium according to claim 7 , wherein the computer program makes the computer execute:

identifying a sampling value included in the information collected by the interrupt handler with an execution form program,

comparing functions, processes, and instructions having a high execution frequency with one another,

identifying the functions, the processes, and the instructions with a corresponding C source or machine word instruction, and

displaying the functions, the processes, and the instructions on a display unit of an analysis processor connected to the computer.

12 . The computer-readable medium according to claim 7 , wherein the computer program makes the computer execute merging the sampling value and hardware event information included in the information collected by the interrupt handler, and

storing the merged result as an experience value in the memory.

Assignments (2)
CHANGE OF NAME Recorded Jul 27, 2010
From: FUJITSU MICROELECTRONICS LIMITED
To: FUJITSU SEMICONDUCTOR LIMITED
Reel/Frame 024794/0500 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 15, 2008
From: KIMURA, SHIGERU
To: FUJITSU MICROELECTRONICS LIMITED
Reel/Frame 021553/0971 →