pieceIndexRange pieceCount Parameters

Some programs allow the their work to be split up. This is useful, for example, when multiple computer processors are available.
  • pieceIndexRange tells which pieces to work on, counting from 0.
  • pieceCount tells how many pieces in to which split the work.

For example, to tell a program to split the work into two pieces and work on the first part:
0 2

Split the work into two pieces and work on the second part:
1 2

Split the work into 10 parts and work on parts 0 through 2
0-2 10

Split the work into 10 parts and work on parts 0,1,2, 5, and 9
0-2,5,9 10

Last edited Mar 6, 2007 at 6:39 PM by CarlK, version 1

Comments

No comments yet.