← Back to Patent Explorer
US5371689A Expired / Lapsed US ⏱️ 0.0 years remaining

Method of measuring cumulative processing time for modules required in process to be traced

Assignee: Fujitsu Ltd
•
Filing: 1991-10-08
•
Granted: 1994-12-06
•
Expires: 2011-10-08
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract In a computer program having a plurality of functional modules, an operational time for a functional module must be sometimes measured by tracing of the process, to improve the program. In this case, start and end points of the module to be traced are set as measuring points, with the addresses thereof, and the instructions in each of the measuring points are replaced by for the time measuring instruction before tracing. When the tracing starts, the control is stopped by the time measuring instruction and a measuring of the time, exchange of the time measuring instruction for the original instruction, execution of the operation by the original instruction, and exchange of the original instruction for the time measuring instruction are carried out, in this order, and are repeated until the end of the process. After the end of the process, an accumulation of the time and operation times of the module having the same address are carried out and the accumulated time and operation times are output for each module.

Inventors

  • 👤 Kazuko Tatsuma

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-30 16:48
CPC Classifications
G; G07; G07C; G07C3/00; G07C3/02; G07C3/04; G06; G06F; G06F11/00; G06F11/30; G06F11/34; G06F11/3409; G06F11/3419; G06F11/3466; G06F2201/00; G06F2201/88

Claims Analysis

Total Claims: 9
Claim 1
Independent Claim 270 words
A method of measuring a cumulative processing time for modules required in a process to be traced in a computer program having a plurality of modules each carrying out a predetermined function when the process is being traced, comprising the steps of: determining addresses of a start point and an end point of a module to be traced and inputting same as measuring points; moving original instructions of the modules at each measuring point to a register, with addresses thereof, before a trace operation; placing a mark instead of the original instruction at each measuring point after the original instructions are moved and before the trace operation; executing a tracing of the process after the marks are all set at the measuring points; measuring a time at which the marks are read during the tracing of the process; moving the original instruction from the register back to the measuring points after the time measuring step is finished; executing the original instruction at the measuring point after the original instruction is moved back to the measuring point; placing the mark at the same to the measuring points after the original instruction execution step; determining whether or not the tracing of the process is finished; continuing the steps after the process tracing execution step if the tracing of the process is not finished; accumulating the processing time measured in the time measuring step and counting the number of processes at each module having the same address if the tracing of the process is finished; and outputting the accumulated processing time and process times for each module determined at the address determining step.
Claim 2
Independent Claim 270 words
A method of measuring a cumulative processing time for modules required in a process to be traced in a computer program having a plurality of modules each carrying out a predetermined function when the process is being traced, comprising the steps of: determining addresses of a start point and an end point of a module to be traced and inputting same as measuring points; moving original instructions of the modules at each measuring point to a register, with addresses thereof, before a trace operation; placing a mark instead of the original instruction at each measuring point after the original instructions are moved and before the trace operation; executing a tracing of the process after the marks are all set at the measuring points; measuring a time at which the marks are read during the tracing of the process; moving the original instruction from the register back to the measuring points after the time measuring step is finished; executing the original instruction at the measuring point after the original instruction is moved back to the measuring point; placing the mark at the same to the measuring points after the original instruction execution step; determining whether or not the tracing of the process is finished; continuing the steps after the process tracing execution step if the tracing of the process is not finished; accumulating the processing time measured in the time measuring step and counting the number of processes at each module having the same address if the tracing of the process is finished; and outputting the accumulated processing time and process times for each module determined at the address determining step.
Claim 3
Dependent Claim 37 words
A method of measuring a cumulative processing time for modules required in a process to be traced as set forth in claim 1, wherein an address and a current time is measured in the time measuring step.
Claim 4
Dependent Claim 35 words
A method of measuring a cumulative processing time for modules required in a process to be traced as set forth in claim 1, wherein the mark is a value indicating a stoppage of the process.
Claim 5
Independent Claim 268 words
A method of measuring a cumulative processing time for modules required in a process to be traced in a computer program having a plurality of modules, each carrying out a predetermined function when the process is traced, comprising the steps of: determining addresses of a start point and an end point of a module to be traced and inputting same as measuring points; moving original instructions at each measuring point to a register, with addresses thereof before a trace operation; placing a time measuring instruction at each measuring point after the original instructions are moved and before the trace operation; executing a tracing of the process after the time measuring instructions are all set in the measuring points; measuring a time at which the control reads the time measuring instruction during the tracing of the process; moving the original instruction from the register back to the measuring point after the time measuring step is finished; executing the original instruction at the measuring point after the original instruction is moved back to the measuring point; moving the time measuring instruction to the same measuring points after the original instruction execution step; determining whether or not the tracing of the process is finished; continuing the steps after the process tracing execution step if the tracing of the process is not finished; accumulating the processing time measured in the time measuring step and counting the number of processes at each module having the same address if the tracing of the process is finished; and outputting the accumulated processing time and process times for each module determined at the address determining step.
Claim 6
Independent Claim 268 words
A method of measuring a cumulative processing time for modules required in a process to be traced in a computer program having a plurality of modules, each carrying out a predetermined function when the process is traced, comprising the steps of: determining addresses of a start point and an end point of a module to be traced and inputting same as measuring points; moving original instructions at each measuring point to a register, with addresses thereof before a trace operation; placing a time measuring instruction at each measuring point after the original instructions are moved and before the trace operation; executing a tracing of the process after the time measuring instructions are all set in the measuring points; measuring a time at which the control reads the time measuring instruction during the tracing of the process; moving the original instruction from the register back to the measuring point after the time measuring step is finished; executing the original instruction at the measuring point after the original instruction is moved back to the measuring point; moving the time measuring instruction to the same measuring points after the original instruction execution step; determining whether or not the tracing of the process is finished; continuing the steps after the process tracing execution step if the tracing of the process is not finished; accumulating the processing time measured in the time measuring step and counting the number of processes at each module having the same address if the tracing of the process is finished; and outputting the accumulated processing time and process times for each module determined at the address determining step.
Claim 7
Dependent Claim 37 words
A method of measuring a cumulative processing time for modules required in a process to be traced as set forth in claim 4, wherein an address and a current time is measured in the time measuring step.
Claim 8
Independent Claim 92 words
A method of performing a tracing operation for a computer process including computer instructions, comprising: selecting a measurement point in the computer process; saving the computer instruction at the measurement point; placing a trace instruction at the measurement point substituting the tracing instruction for the computer instruction; performing the process up to and including executing the trace instruction and performing a trace operation; replacing the trace instruction at the measurement point with the saved computer instruction; and executing the computer instruction at the measurement point and performing any remainder of the process.
Claim 9
Independent Claim 92 words
A method of performing a tracing operation for a computer process including computer instructions, comprising: selecting a measurement point in the computer process; saving the computer instruction at the measurement point; placing a trace instruction at the measurement point substituting the tracing instruction for the computer instruction; performing the process up to and including executing the trace instruction and performing a trace operation; replacing the trace instruction at the measurement point with the saved computer instruction; and executing the computer instruction at the measurement point and performing any remainder of the process.

References Cited (Backward Citations)

US4231106A Cited
US4338660A Cited
US4845615A Cited
US4720778A Cited
US4720718A Cited
JPS62211744A Cited
US5047919A Cited
US5204956A Cited
US5134701A Cited
US5255385A Cited
US5265254A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1997-12-05 1998-06-06 1998-12-06 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2001-12-05 2002-06-06 2002-12-06 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2005-12-05 2006-06-06 2006-12-06 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag