[Dda-cvs] ntdda/src postprocess.c,1.19,1.20
Status: Beta
Brought to you by:
doolin
From: Roozbeh <rgr...@us...> - 2008-04-10 01:34:16
|
Update of /cvsroot/dda/ntdda/src In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv6298 Modified Files: postprocess.c Log Message: the time info dialog which is running at the end of each solution has been enabled Index: postprocess.c =================================================================== RCS file: /cvsroot/dda/ntdda/src/postprocess.c,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** postprocess.c 17 Dec 2003 23:36:36 -0000 1.19 --- postprocess.c 10 Apr 2008 01:34:13 -0000 1.20 *************** *** 46,51 **** double assemble_runtime; double integration_runtime; ! //double solve_runtime; ! //double openclose_runtime; //double contact_runtime; //double update_runtime; --- 46,51 ---- double assemble_runtime; double integration_runtime; ! double solve_runtime; ! double openclose_runtime; //double contact_runtime; //double update_runtime; *************** *** 60,66 **** //update_runtime = DLog->update_runtime/(double)CLOCKS_PER_SEC; assemble_runtime = DLog->assemble_runtime/(double)CLOCKS_PER_SEC; ! //solve_runtime = DLog->solve_runtime/(double)CLOCKS_PER_SEC; integration_runtime = DLog->integration_runtime/(double)CLOCKS_PER_SEC; ! //openclose_runtime = DLog->openclose_runtime/(double)CLOCKS_PER_SEC; totaloc_count = AData->n9; --- 60,66 ---- //update_runtime = DLog->update_runtime/(double)CLOCKS_PER_SEC; assemble_runtime = DLog->assemble_runtime/(double)CLOCKS_PER_SEC; ! solve_runtime = DLog->solve_runtime/(double)CLOCKS_PER_SEC; integration_runtime = DLog->integration_runtime/(double)CLOCKS_PER_SEC; ! openclose_runtime = DLog->openclose_runtime/(double)CLOCKS_PER_SEC; totaloc_count = AData->n9; *************** *** 72,78 **** sprintf(temp, "Assembly run time: %2.3f seconds\n", assemble_runtime); strcat(mess, temp); ! //sprintf(temp, "Solve run time: %2.3f seconds\n", solve_runtime); strcat(mess, temp); ! //sprintf(temp, "Penalty run time: %2.3f seconds\n", openclose_runtime-solve_runtime); strcat(mess, temp); --- 72,78 ---- sprintf(temp, "Assembly run time: %2.3f seconds\n", assemble_runtime); strcat(mess, temp); ! sprintf(temp, "Solve run time: %2.3f seconds\n", solve_runtime); strcat(mess, temp); ! sprintf(temp, "Penalty run time: %2.3f seconds\n", openclose_runtime-solve_runtime); strcat(mess, temp); |