Small changes
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1555 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
4e4b713d44
commit
d64e3ed67b
1 changed files with 1 additions and 16 deletions
|
|
@ -313,22 +313,7 @@ int main(int argc, char *argv[])
|
|||
clades_final.close();
|
||||
cout << "\nPhyloMOEA execution finishes !\n";
|
||||
gettimeofday(&tempo2, NULL);
|
||||
timeval_subtract(&result,&tempo2,&tempo1);
|
||||
|
||||
long remainder = result.tv_sec % 3600;
|
||||
long hours = (result.tv_sec - remainder)/3600;
|
||||
long seconds = remainder % 60;
|
||||
long minutes = (remainder - seconds) / 60;
|
||||
cout << "Execution time : ";
|
||||
cout.width(3);
|
||||
cout.fill(' ');
|
||||
cout << hours << ":";
|
||||
cout.width(2);
|
||||
cout.fill('0');
|
||||
cout << minutes << ":";
|
||||
cout.width(2);
|
||||
cout.fill('0');
|
||||
cout << seconds << "." << result.tv_usec << "(" << result.tv_sec << ")" << endl;
|
||||
print_elapsed_time(&tempo1,&tempo2);
|
||||
}
|
||||
gsl_rng_free(rn2);
|
||||
// delete probmatrixs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue