| 394 | } |
| 395 | |
| 396 | static void TimeStringFractal(clock_t tinput, clock_t tostd, clock_t tif,clock_t tstd, |
| 397 | clock_t textra, clock_t tlf,clock_t tred, clock_t tnw) |
| 398 | { |
| 399 | |
| 400 | double totm = ((double) (clock() - tinput))/1000000; |
| 401 | double ostd, mostd, mif, mstd, mextra, mlf, mred, mnw, tot, res; |
| 402 | Print("\n// total time = %.2f sec", totm); |
| 403 | Print("\n// tostd = %.2f sec = %.2f", ostd=((double) tostd)/1000000, |
| 404 | mostd=((((double) tostd)/1000000)/totm)*100); |
| 405 | Print("\n// tif = %.2f sec = %.2f", ((double) tif)/1000000, |
| 406 | mif=((((double) tif)/1000000)/totm)*100); |
| 407 | Print("\n// std = %.2f sec = %.2f", ((double) tstd)/1000000, |
| 408 | mstd=((((double) tstd)/1000000)/totm)*100); |
| 409 | Print("\n// xstd = %.2f sec = %.2f", ((double) textra)/1000000, |
| 410 | mextra=((((double) textra)/1000000)/totm)*100); |
| 411 | Print("\n// lift = %.2f sec = %.2f", ((double) tlf)/1000000, |
| 412 | mlf=((((double) tlf)/1000000)/totm)*100); |
| 413 | Print("\n// ired = %.2f sec = %.2f", ((double) tred)/1000000, |
| 414 | mred=((((double) tred)/1000000)/totm)*100); |
| 415 | Print("\n// nextw = %.2f sec = %.2f", ((double) tnw)/1000000, |
| 416 | mnw=((((double) tnw)/1000000)/totm)*100); |
| 417 | tot = mostd+mif+mstd+mextra+mlf+mred+mnw; |
| 418 | res = (double) 100.00-tot; |
| 419 | Print("\n// &%.2f &%.2f&%.2f &%.2f &%.2f &%.2f &%.2f &%.2f &%.2f&%.2f&%.2f\\ \\ ", |
| 420 | ostd,totm,mostd,mif,mstd,mextra,mlf,mred,mnw,tot,res); |
| 421 | } |
| 422 | #endif |
| 423 | |
| 424 | #ifdef CHECK_IDEAL_MWALK |