×

Method and device for partitioning a computer program

  • US 20020124240A1
  • Filed: 01/15/2002
  • Published: 09/05/2002
  • Est. Priority Date: 01/16/2001
  • Status: Active Grant
First Claim
Patent Images

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 all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×