Method and device for partitioning a computer program
First Claim
1. Method of partitioning a computer program (10) situated on a first processing site (1), the program containing subprograms (SP11, SP12, SP13) able to transfer information, characterised in that it includes:
- a step of automatic determination (E310, E320, E327), for at least one of said subprograms (SP11, SP12, SP13), of data (QE, QS, TPS_TOT) representing the transfer of at least part of the information processed by said subprogram, said automatic determination step comprising;
a substep of modifying (E310) the source code (210) of said computer program (10), substep during which are inserted in the source code (210) of at least one subprogram (SP11, SP12, SP13) of said computer program (10);
first lines of instructions (L421) making it possible, when they are executed (E327), to obtain and store a reference (SP_CALLER) of a subprogram calling said subprogram; and
second lines of instructions (L425, L429) making it possible, when they are executed (E327), to obtain and store the total of the data (QE, QS, TPS_TOT) representing the information received or transferred by said subprogram;
a substep of compiling (E320) said modified code (210′
) and generating a modified program; and
a substep of obtaining said representative data (QE, QS, TPS_TOT) by means of at least one execution (E327) of said modified program;
and a step (E350) of allocating said subprogram to a second processing site (2, 3) according to said data (QE, QS, TPS_TOT).
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 (E310, E320, E327) 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 (E350) of allocating said subprogram to a second processing site according to said data.
17 Citations
21 Claims
-
1. Method of partitioning a computer program (10) situated on a first processing site (1), the program containing subprograms (SP11, SP12, SP13) able to transfer information, characterised in that it includes:
a step of automatic determination (E310, E320, E327), for at least one of said subprograms (SP11, SP12, SP13), of data (QE, QS, TPS_TOT) representing the transfer of at least part of the information processed by said subprogram, said automatic determination step comprising;
a substep of modifying (E310) the source code (210) of said computer program (10), substep during which are inserted in the source code (210) of at least one subprogram (SP11, SP12, SP13) of said computer program (10);
first lines of instructions (L421) making it possible, when they are executed (E327), to obtain and store a reference (SP_CALLER) of a subprogram calling said subprogram; and
second lines of instructions (L425, L429) making it possible, when they are executed (E327), to obtain and store the total of the data (QE, QS, TPS_TOT) representing the information received or transferred by said subprogram;
a substep of compiling (E320) said modified code (210′
) and generating a modified program; and
a substep of obtaining said representative data (QE, QS, TPS_TOT) by means of at least one execution (E327) of said modified program;
and a step (E350) of allocating said subprogram to a second processing site (2, 3) according to said data (QE, QS, TPS_TOT). - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 18, 20, 21)
-
9. Device for partitioning a computer program (10) situated on a first processing site (1), the program containing subprograms (SP11, SP12, SP13) able to transfer information, characterised in that it has:
-
means of automatic determination, for at least one of said subprograms (SP11, SP12, SP13), of data (QE, QS, TPS_TOT) representing the transfer of at least part of the information processed by said subprogram, said automatic determination means including;
means (2010) of modifying the source code (210) of said computer program (10), ), said means being adapted to insert in the source code (210) of at least one sub-program (SP11, SP12, SP13) of said computer program (10);
first lines of instructions (L421) making it possible, when executed (E327), to obtain and store a reference (SP_CALLER) of a subprogram calling said subprogram; and
second lines of instructions (L425, L429) making it possible, when executed (E327), to obtain and store the total of the data (QE, QS, TPS_TOT) representing the information received or transferred by said subprogram;
means (2020) of compiling said modified code (210′
) and generating a modified program; and
means (2030) adapted to obtain said representative data (QE, QS, TPS_TOT) by at least one execution (E327) of said modified program. and means of allocating said subprogram to a second processing site (2, 3) according to said data (QE, QS, TPS_TOT). - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 19)
-
Specification