correct the printf of execution time
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2357 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
01c35379bf
commit
21748d4fe9
1 changed files with 3 additions and 3 deletions
|
|
@ -209,9 +209,9 @@ void main_function(int argc, char **argv)
|
||||||
//Run the local search with Simple Hill climbing explorer
|
//Run the local search with Simple Hill climbing explorer
|
||||||
localSearch(sol);
|
localSearch(sol);
|
||||||
timer.stop();
|
timer.stop();
|
||||||
printf("GPU execution time = %f ms\n",timer.getTime());
|
|
||||||
timer.deleteTimer();
|
|
||||||
std::cout << "final: " << sol << std::endl;
|
std::cout << "final: " << sol << std::endl;
|
||||||
|
printf("Execution time = %f ms\n",timer.getTime());
|
||||||
|
timer.deleteTimer();
|
||||||
|
|
||||||
/* =========================================================
|
/* =========================================================
|
||||||
*
|
*
|
||||||
|
|
@ -228,7 +228,7 @@ void main_function(int argc, char **argv)
|
||||||
simpleHC(sol1);
|
simpleHC(sol1);
|
||||||
timer1.stop();
|
timer1.stop();
|
||||||
std::cout << "final: " << sol1 << std::endl;
|
std::cout << "final: " << sol1 << std::endl;
|
||||||
printf("GPU execution time = %f ms\n",timer1.getTime());
|
printf("Execution time = %f ms\n",timer1.getTime());
|
||||||
timer1.deleteTimer();
|
timer1.deleteTimer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue