Patent ID: 7103879

Claim:
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.