| | 30 | === void '''_get_sbt_footprint'''( unsigned int* width, unsigned int* heigth, unsigned int* levels ) === |
| | 31 | This function computes the footprint of the smallest SBT (Sliced Binary tree) covering |
| | 32 | all clusters containing processors in a platform. The SBT footprint is defined by the '''width''' and '''heigth''' parameters, with the following constraints: |
| | 33 | * cluster[0][0] is always covered by the SBT |
| | 34 | * the number of clusters in a row (width) is always power of 2 |
| | 35 | * the number of xlusters in a column (heigth) is always power of 2 |
| | 36 | * (width = heigth) OR (width = 2 * heigth) |
| | 37 | The width/heigth parameters can be larger than the X_SIZE/Y_SIZE parameters, when X_SIZE or Y_SIZE are not power of 2. The width/heigth parameters can be smaller than the X_SIZE/Y_SIZE parameters, when the upper row, or the right column of clusters does not contain processors. |
| | 38 | |