|
@@ -67,6 +67,7 @@ int main(int argc, char* argv[]) {
|
|
|
|
|
|
//Le processus d'affichage attend de recevoir les resultats à afficher
|
|
|
if(world_rank == DISPLAY_RANK) {
|
|
|
+ sleep(1); //Attend la fin des autres processus
|
|
|
//Recup les infos
|
|
|
int pid, rank, thread;
|
|
|
double time;
|
|
@@ -83,7 +84,6 @@ int main(int argc, char* argv[]) {
|
|
|
//Set le resultat
|
|
|
gsat->setResult(true, pid, rank, thread, time, nbIte, heuriFill, heuriSolve, satisfFill, satisfSolve);
|
|
|
//Affiche resultat
|
|
|
- sleep(1); //Attend la fin des autres processus
|
|
|
printf("-----------------------------------------------------------------------------------------------------------------\n");
|
|
|
gsat->printResult();
|
|
|
}
|