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
|
// 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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue