Changeset d3a49c in git for Singular/walk.cc
- Timestamp:
- Sep 19, 2008, 4:15:14 PM (16 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- e8757a4158a0ac53504885de58c28a553151a28c
- Parents:
- 7143128e86b7531f8775b7a857756da9322c43ac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/walk.cc
r714312 rd3a49c 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: walk.cc,v 1.1 4 2008-09-10 09:21:29Singular Exp $ */4 /* $Id: walk.cc,v 1.15 2008-09-19 14:15:14 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: Implementation of the Groebner walk … … 359 359 360 360 Print("\n// total time = %.2f sec", totm); 361 Print("\n// tostd = %.2f sec = %.2f %", ostd=((double) tostd)/1000000,361 Print("\n// tostd = %.2f sec = %.2f", ostd=((double) tostd)/1000000, 362 362 mostd=((((double) tostd)/1000000)/totm)*100); 363 Print("\n// tif = %.2f sec = %.2f %", ((double) tif)/1000000,363 Print("\n// tif = %.2f sec = %.2f", ((double) tif)/1000000, 364 364 mif=((((double) tif)/1000000)/totm)*100); 365 Print("\n// std = %.2f sec = %.2f %", ((double) tstd)/1000000,365 Print("\n// std = %.2f sec = %.2f", ((double) tstd)/1000000, 366 366 mstd=((((double) tstd)/1000000)/totm)*100); 367 Print("\n// lift = %.2f sec = %.2f %", ((double) tlf)/1000000,367 Print("\n// lift = %.2f sec = %.2f", ((double) tlf)/1000000, 368 368 mlf=((((double) tlf)/1000000)/totm)*100); 369 Print("\n// ired = %.2f sec = %.2f %", ((double) tred)/1000000,369 Print("\n// ired = %.2f sec = %.2f", ((double) tred)/1000000, 370 370 mred=((((double) tred)/1000000)/totm)*100); 371 Print("\n// nextw = %.2f sec = %.2f %", ((double) tnw)/1000000,371 Print("\n// nextw = %.2f sec = %.2f", ((double) tnw)/1000000, 372 372 mnw=((((double) tnw)/1000000)/totm)*100); 373 373 PrintS("\n Time for the last step:"); 374 Print("\n// xinfo = %.2f sec = %.2f %", ((double) xtif)/1000000,374 Print("\n// xinfo = %.2f sec = %.2f", ((double) xtif)/1000000, 375 375 mxif=((((double) xtif)/1000000)/totm)*100); 376 Print("\n// xstd = %.2f sec = %.2f %", ((double) xtstd)/1000000,376 Print("\n// xstd = %.2f sec = %.2f", ((double) xtstd)/1000000, 377 377 mxstd=((((double) xtstd)/1000000)/totm)*100); 378 Print("\n// xlift = %.2f sec = %.2f %", ((double) xtlift)/1000000,378 Print("\n// xlift = %.2f sec = %.2f", ((double) xtlift)/1000000, 379 379 mxlf=((((double) xtlift)/1000000)/totm)*100); 380 Print("\n// xired = %.2f sec = %.2f %", ((double) xtred)/1000000,380 Print("\n// xired = %.2f sec = %.2f", ((double) xtred)/1000000, 381 381 mxred=((((double) xtred)/1000000)/totm)*100); 382 Print("\n// xnextw= %.2f sec = %.2f %", ((double) xtnw)/1000000,382 Print("\n// xnextw= %.2f sec = %.2f", ((double) xtnw)/1000000, 383 383 mxnw=((((double) xtnw)/1000000)/totm)*100); 384 384 … … 397 397 double ostd, mostd, mif, mstd, mextra, mlf, mred, mnw, tot, res; 398 398 Print("\n// total time = %.2f sec", totm); 399 Print("\n// tostd = %.2f sec = %.2f %", ostd=((double) tostd)/1000000,399 Print("\n// tostd = %.2f sec = %.2f", ostd=((double) tostd)/1000000, 400 400 mostd=((((double) tostd)/1000000)/totm)*100); 401 Print("\n// tif = %.2f sec = %.2f %", ((double) tif)/1000000,401 Print("\n// tif = %.2f sec = %.2f", ((double) tif)/1000000, 402 402 mif=((((double) tif)/1000000)/totm)*100); 403 Print("\n// std = %.2f sec = %.2f %", ((double) tstd)/1000000,403 Print("\n// std = %.2f sec = %.2f", ((double) tstd)/1000000, 404 404 mstd=((((double) tstd)/1000000)/totm)*100); 405 Print("\n// xstd = %.2f sec = %.2f %", ((double) textra)/1000000,405 Print("\n// xstd = %.2f sec = %.2f", ((double) textra)/1000000, 406 406 mextra=((((double) textra)/1000000)/totm)*100); 407 Print("\n// lift = %.2f sec = %.2f %", ((double) tlf)/1000000,407 Print("\n// lift = %.2f sec = %.2f", ((double) tlf)/1000000, 408 408 mlf=((((double) tlf)/1000000)/totm)*100); 409 Print("\n// ired = %.2f sec = %.2f %", ((double) tred)/1000000,409 Print("\n// ired = %.2f sec = %.2f", ((double) tred)/1000000, 410 410 mred=((((double) tred)/1000000)/totm)*100); 411 Print("\n// nextw = %.2f sec = %.2f %", ((double) tnw)/1000000,411 Print("\n// nextw = %.2f sec = %.2f", ((double) tnw)/1000000, 412 412 mnw=((((double) tnw)/1000000)/totm)*100); 413 413 tot = mostd+mif+mstd+mextra+mlf+mred+mnw;
Note: See TracChangeset
for help on using the changeset viewer.