Lines Matching defs:loops
340 int32_t loops = 0;
378 if (loops == 0 || t == 0) {
379 loops = failsafe;
382 //System.out.println("# " + meth.getName() + " x " + loops + " = " + t);
383 loops = (int)((double)n / t * loops + 0.5);
384 if (loops == 0) {
389 //System.out.println("# " + meth.getName() + " x " + loops);
390 t = testFunction->time(loops,&status);
397 loops = iterations;
407 fprintf(stdout, "%i\n", (int)loops);
414 t = testFunction->time(loops, &status);
427 fprintf(stdout, "= %s end: %f loops: %i operations: %li \n", name, t, (int)loops, ops);
429 fprintf(stdout, "= %s end: %f loops: %i operations: %li events: %li\n", name, t, (int)loops, ops, events);
433 fprintf(stdout,"= %s end %f %i %li\n", name, t, (int)loops, ops);
435 fprintf(stdout,"= %s end %f %i %li %li\n", name, t, (int)loops, ops, events);
441 if (loops == 0 || ops == 0) {
445 fprintf(stdout, "%%= %s avg: %.4g loops: %i avg/op: %.4g ns\n",
446 name, avg_t, (int)loops, (avg_t*1E9)/(loops*ops));
447 fprintf(stdout, "_= %s min: %.4g loops: %i min/op: %.4g ns\n",
448 name, min_t, (int)loops, (min_t*1E9)/(loops*ops));
451 fprintf(stdout, "%%= %s avg: %.4g loops: %i avg/op: %.4g ns avg/event: %.4g ns\n",
452 name, avg_t, (int)loops, (avg_t*1E9)/(loops*ops), (avg_t*1E9)/(loops*events));
453 fprintf(stdout, "_= %s min: %.4g loops: %i min/op: %.4g ns min/event: %.4g ns\n",
454 name, min_t, (int)loops, (min_t*1E9)/(loops*ops), (min_t*1E9)/(loops*events));