Computer system, program product and method for dynamically providing an indication to a programmer of the efficiency of a program that is being written
First Claim
Patent Images
1. A method for dynamically providing an indication to a programmer of the efficiency of a created program as that program is being written, the method comprising:
- (a) generally simultaneous with the writing of software code by a programmer for the created program, monitoring the insertion and deletion, within the created program, of software code reflective of at least one function added to or removed from the program;
(b) determining a performance statistic for the function associated with the software code which is indicative of the efficiency of that the function;
(c) providing a humanly-perceptible output to the programmer, the output being reflective of the performance statistic of the function to provide an indication to the programmer related to the efficiency of the created program.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, apparatus and program product provides an indication to a programmer of the efficiency of a created program and comprises monitoring of insertion and deletion of one or more functions within the program and determining a performance statistic for the function which is indicative of the efficiency of the function. A humanly perceptible output is provided to the programmer which is reflective of the performance statistic of the function to provide an indication to the programmer related to the efficiency of the created program.
30 Citations
32 Claims
-
1. A method for dynamically providing an indication to a programmer of the efficiency of a created program as that program is being written, the method comprising:
-
(a) generally simultaneous with the writing of software code by a programmer for the created program, monitoring the insertion and deletion, within the created program, of software code reflective of at least one function added to or removed from the program;
(b) determining a performance statistic for the function associated with the software code which is indicative of the efficiency of that the function;
(c) providing a humanly-perceptible output to the programmer, the output being reflective of the performance statistic of the function to provide an indication to the programmer related to the efficiency of the created program. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
(a) maintaining a counter indicative of the cumulative performance statistics associated with a plurality of functions in the created program;
(b) updating the counter when functions are inserted and deleted by the insertion or deletion of software code within the created program;
(c) providing a humanly-perceptible output corresponding to the counter.
-
-
3. The method of claim 1 wherein said function is a preexisting function and the method step of determining an performance statistic for the function further comprises the steps of:
-
(a) associating a preexisting function with a preexisting performance statistic;
(b) when the preexisting function is one of inserted and deleted within the program by software code, obtaining the associated preexisting performance statistic to provide the indication to the programmer.
-
-
4. The method of claim 3 further comprising maintaining, within a table, a plurality of preexisting performance statistics associated with a plurality of preexisting functions, the method step of associating a preexisting function with a preexisting performance statistic further comprising the step of:
(a) referring to the table when preexisting functions are added and deleted in software code within the created program.
-
5. The method of claim 1 wherein said method step of determining a performance statistic for the function comprises the step of:
-
(a) in real time, executing the function;
(b) based upon the execution of the function, generating a performance statistic for the function.
-
-
6. The method of claim 1 further comprising:
(a) providing the output corresponding to the performance statistic of the function proximate to the line of software code corresponding to the function.
-
7. The method of claim 2 further comprising:
(a) providing the output corresponding to the counter proximate to the lines of software code corresponding to the functions.
-
8. The method of claim 1 wherein the step of providing a humanly-perceptible output corresponding to the execution time statistic of the function occurs shortly after a function is one of inserted and deleted in software code within the program.
-
9. The method of claim 1 wherein said performance statistic is an execution time statistic which is indicative of the amount of time that the function requires to execute.
-
10. The method of claim 1 wherein said performance statistic is an instruction count statistic indicative of the number of instructions associated with the function.
-
11. The method of claim 1 wherein said performance statistic is a cycles per instruction statistic which is indicative of the number of system cycles associated with instructions of the function.
-
12. An apparatus for dynamically providing an indication to a programmer of the efficiency of a created program as that program is being written, the apparatus comprising:
-
(a) a memory; and
(b) a program resident in memory, the program configured for, generally simultaneous with the writing of software code by the programmer for the created program, monitoring the insertion and deletion, within the created program of software code reflective of at least one function added to or removed from the program, and determining a performance statistic for the function associated with the software code which is indicative of the efficiency of the function, the program further configured for providing a humanly-perceptible output to the programmer, the output being reflective of the performance statistic of the function to provide an indication to the programmer related to the efficiency of the created program. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A program product for dynamically providing an indication to a programmer of the efficiency of a created program as that program is being written, the program product comprising:
-
(a) a program configured for, generally simultaneous with the writing of software code by a programmer for the created program, monitoring the insertion and deletion, within the created program of software code reflective of at least one function added to or removed from the program, and determining a performance statistic for the function associated with the software code which is indicative of the efficiency of the function, the program further configured for providing a humanly-perceptible output to the programmer, the output being reflective of the performance statistic of the function to provide an indication to the programmer related to the efficiency of the created program;
(b) a signal bearing media bearing the program. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32)
-
Specification