update with new timer class
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2429 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
d526a3ebe5
commit
4f700b3a7b
1 changed files with 2 additions and 4 deletions
|
|
@ -208,8 +208,7 @@ void main_function(int argc, char **argv)
|
|||
localSearch(sol);
|
||||
timer.stop();
|
||||
std::cout << "final: " << sol << std::endl;
|
||||
printf("Execution time = %f ms\n",timer.getTime());
|
||||
timer.deleteTimer();
|
||||
printf("Execution time = %0.2lf s\n",timer.getTime());
|
||||
|
||||
|
||||
/* =========================================================
|
||||
|
|
@ -227,8 +226,7 @@ void main_function(int argc, char **argv)
|
|||
simpleHC(sol1);
|
||||
timer1.stop();
|
||||
std::cout << "final: " << sol1 << std::endl;
|
||||
printf("Execution time = %f ms\n",timer1.getTime());
|
||||
timer1.deleteTimer();
|
||||
printf("Execution time = %0.2lf s\n",timer1.getTime());
|
||||
}
|
||||
|
||||
// A main that catches the exceptions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue