svn path=/trunk/boinc/; revision=21902

This commit is contained in:
Tuan Le 2010-07-13 18:33:00 +00:00
parent eb89bc396d
commit 95b33a9501
1 changed files with 2 additions and 1 deletions

View File

@ -202,6 +202,7 @@ int main(int argc, char** argv)
// burn up some CPU time if needed // burn up some CPU time if needed
// //
if (cpu_time) { if (cpu_time) {
printf("\nBurning up some CPU time ... \n");
double start = dtime(); double start = dtime();
for (int i=0; ; i++) { for (int i=0; ; i++) {
double e = dtime()-start; double e = dtime()-start;
@ -227,7 +228,7 @@ int main(int argc, char** argv)
update_shmem(); update_shmem();
#endif #endif
printf("Done!"); printf("\nDone! Please press ENTER to exit. ");
getchar(); getchar();
boinc_finish(0); boinc_finish(0);
} }