mirror of https://github.com/BOINC/boinc.git
svn path=/trunk/boinc/; revision=21902
This commit is contained in:
parent
eb89bc396d
commit
95b33a9501
|
@ -202,6 +202,7 @@ int main(int argc, char** argv)
|
|||
// burn up some CPU time if needed
|
||||
//
|
||||
if (cpu_time) {
|
||||
printf("\nBurning up some CPU time ... \n");
|
||||
double start = dtime();
|
||||
for (int i=0; ; i++) {
|
||||
double e = dtime()-start;
|
||||
|
@ -227,7 +228,7 @@ int main(int argc, char** argv)
|
|||
update_shmem();
|
||||
#endif
|
||||
|
||||
printf("Done!");
|
||||
printf("\nDone! Please press ENTER to exit. ");
|
||||
getchar();
|
||||
boinc_finish(0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue