Skip to content
Snippets Groups Projects
Commit f88650f5 authored by JanThorbecke's avatar JanThorbecke
Browse files

progress ala fdacrtmc

parent c3de0c84
No related branches found
No related tags found
No related merge requests found
......@@ -633,7 +633,7 @@ int main (int argc, char **argv)
if((ii-istart)==10)t4=wallclock_time();
if((ii-istart)==50){
t4=(wallclock_time()-t4)*((iend-istart)/40.0);
fprintf(stderr,"\r %s: Estimated total compute time = %.2fs.\n %s: Progress: %3d%%",xargv[0],t4,xargv[0],ii/((iend-istart)/10));
fprintf(stderr,"\r %s: Estimated total compute time = %.2fs.\n %s: Progress: %3d%%",xargv[0],t4,xargv[0],ii/((iend-istart)));
}
//t4=wallclock_time();
tii=(t4-t1)*((float)(iend-istart)/(ii-istart+1.0))-(t4-t1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment