Method and device for partitioning a computer program
First Claim
Patent Images
1. A method of partitioning a computer program situated on a first processing site, the program containing subprograms able to transfer information, and the program comprising:
- a step of automatic determination, for at least one of the subprograms, of data representing the transfer of at least part of the information processed by that subprogram, said automatic determination step comprising;
a substep of modifying source code of the computer program, during which substep are inserted in source code of at least one subprogram of the computer program;
first lines of instructions making it possible, when they are executed, to obtain and store a reference of a subprogram calling that subprogram; and
second lines of instructions making it possible, when they are executed, to obtain and store the total of the data representing the information received or transferred by that subprogram;
a substep of compiling the modified source code and generating a modified program; and
a substep of obtaining the representative data by means of at least one execution of the modified program;
and a step of allocating the subprogram to a second processing site according to the data.
1 Assignment
0 Petitions
Accused Products
Abstract
The invention concerns a method of partitioning a computer program situated on a first processing site, the program containing subprograms able to transfer information, characterised in that it includes a step of automatic determination, for at least one of said subprograms, of data representing the transfer of at least part of the information processed by said subprogram, and a step of allocating said subprogram to a second processing site according to said data.
19 Citations
21 Claims
-
1. A method of partitioning a computer program situated on a first processing site, the program containing subprograms able to transfer information, and the program comprising:
-
a step of automatic determination, for at least one of the subprograms, of data representing the transfer of at least part of the information processed by that subprogram, said automatic determination step comprising; a substep of modifying source code of the computer program, during which substep are inserted in source code of at least one subprogram of the computer program; first lines of instructions making it possible, when they are executed, to obtain and store a reference of a subprogram calling that subprogram; and second lines of instructions making it possible, when they are executed, to obtain and store the total of the data representing the information received or transferred by that subprogram; a substep of compiling the modified source code and generating a modified program; and a substep of obtaining the representative data by means of at least one execution of the modified program; and a step of allocating the subprogram to a second processing site according to the data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A device for partitioning a computer program situated on a first processing site, the program containing subprograms able to transfer information, comprising:
means of automatic determination, for at least one of the subprograms, of data representing the transfer of at least part of the information processed by that subprogram, said automatic determination means including; means for modifying source code of the computer program, said means being adapted to insert in source code of at least one sub-program of the computer program; first lines of instructions making it possible, when executed, to obtain and store a reference of a subprogram calling that subprogram; and second lines of instructions making it possible, when executed, to obtain and store the total of the data representing the information received or transferred by that subprogram; means for compiling the modified source code and generating a modified program; and means adapted to obtain the representative data by at least one execution of the modified program; and means for allocating the subprogram to a second processing site according to the data. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21)
Specification