IP Library Granted Patent US 8,171,496
Granted Patent B2
US 8,171,496 · App. 12/020,848 · Granted May 1, 2012

Program evaluation program, program evaluation device, and program evaluation method

Assignee: Fujitsu Limited
View Patent ↗
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 8,171,496
App. No.
12/020,848
Granted
May 1, 2012
Kind
B2
Abstract

According to an aspect of an embodiment, an evaluation device for evaluating a target program is provided by calculating a first parameter showing an impact size of a target module of the target program on the outside of the target module, based on an execution log of the target program and calculating a second parameter that is a value related to a power consumption by executing the target module. An evaluator evaluates the target module based on the first and second parameters and outputs an evaluation result.

Claims (27)

1. A computer readable recording medium storing a program evaluation program for making a computer evaluate an evaluation target program according to operations comprising:

extracting an external variable used by a target module of the evaluation target program;

calculating a first parameter indicating an impact of the target module of the evaluation target program has on outside of the target module, based on an execution log of the evaluation target program;

calculating a second parameter regarding a power consumption by executing the target module based on the execution log;

evaluating the evaluation target module based on the first and the second parameters; and

outputting an evaluation result,

wherein the execution log is generated by:

acquiring a target address per instruction by executing the evaluation target program before the calculation of the first parameter,

detecting an instruction of writing or reading the external variable based on the instruction and a condition of the external variable set as the target address of the instruction, and

generating the execution log including the detection of the writing or reading to the external variable, and

the calculating of the first parameter accumulates a given additional value per a write or read instruction of the external variable and sets an accumulation result as the first parameter of the target module.

2. The computer readable recording medium of claim 1 , wherein the extracting extracts the external variable based on a given condition and the execution log.

3. The computer readable recording medium of claim 1 , wherein the calculation of the second parameter accumulates the power consumption per instruction in the target module.

4. The computer readable recording medium of claim 1 , wherein: the calculation of the first parameter calculates the first parameter in the target module and the first parameter in a module called by the target module; the calculation of the second parameter calculates the second parameter in the target module and a second parameter in the module called by the target module; and the evaluating outputs the evaluation result of the target module and an evaluation result of the module called by the target module.

5. A method of evaluating an evaluation target program, comprising:

extracting an external variable used by a target module of the evaluation target program;

calculating a first parameter indicating an impact size of the target module of the evaluation target program on outside of the target module, based on an execution log of the evaluation target module;

calculating a second parameter regarding a power consumption by executing the target module based on the execution log; and

evaluating the target module based on the first and second parameters and outputting an evaluation result,

wherein the execution log is generated by:

acquiring a target address per instruction by executing the evaluation target program before the calculation of the first parameter,

detecting an instruction of writing or reading the external variable based on the instruction and a condition of the external variable set as the target address of the instruction, and

generating the execution log including the detection of the writing or reading to the external variable, and

calculating of the first parameter accumulates a given additional value set per variable type per a write or read instruction of the external variable and sets an accumulation result as the first parameter of the target module.

6. The method of claim 5 , wherein the extracting extracts the external variable based upon a given condition and the execution log.

7. The method of claim 5 , wherein: the calculation of the second parameter accumulates the power consumption per instruction in the target module.

8. The method of claim 5 , wherein: the calculation of the first parameter calculates the first parameter in the target module and the first parameter in a module called by the target module; the calculation of the second parameter calculates the second parameter in the target module and the second parameter in the module called by the target module; and the evaluating outputs the evaluation result of the target module and an evaluation result of the module called by the target module.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 28, 2008
From: TAMIYA, YUTAKA
To: FUJITSU LIMITED
Reel/Frame 020444/0935 →
Priority Claims (1)
JP 2007-18052 · Jan 29, 2007 · national
Continuity (1)
Related Publication 20080184263A1 · Jul 31, 2008