Home | History | Annotate | Download | only in ctestfw

Lines Matching full:loops

346     int32_t loops = 0;
384 if (loops == 0 || t == 0) {
385 loops = failsafe;
388 //System.out.println("# " + meth.getName() + " x " + loops + " = " + t);
389 loops = (int)((double)n / t * loops + 0.5);
390 if (loops == 0) {
395 //System.out.println("# " + meth.getName() + " x " + loops);
396 t = testFunction->time(loops,&status);
403 loops = iterations;
413 fprintf(stdout, "%i\n", (int)loops);
420 t = testFunction->time(loops, &status);
433 fprintf(stdout, "= %s end: %f loops: %i operations: %li \n", name, t, (int)loops, ops);
435 fprintf(stdout, "= %s end: %f loops: %i operations: %li events: %li\n", name, t, (int)loops, ops, events);
439 fprintf(stdout,"= %s end %f %i %li\n", name, t, (int)loops, ops);
441 fprintf(stdout,"= %s end %f %i %li %li\n", name, t, (int)loops, ops, events);
447 if (loops == 0 || ops == 0) {
451 fprintf(stdout, "%%= %s avg: %.4g loops: %i avg/op: %.4g ns\n",
452 name, avg_t, (int)loops, (avg_t*1E9)/(loops*ops));
453 fprintf(stdout, "_= %s min: %.4g loops: %i min/op: %.4g ns\n",
454 name, min_t, (int)loops, (min_t*1E9)/(loops*ops));
457 fprintf(stdout, "%%= %s avg: %.4g loops: %i avg/op: %.4g ns avg/event: %.4g ns\n",
458 name, avg_t, (int)loops, (avg_t*1E9)/(loops*ops), (avg_t*1E9)/(loops*events));
459 fprintf(stdout, "_= %s min: %.4g loops: %i min/op: %.4g ns min/event: %.4g ns\n",
460 name, min_t, (int)loops, (min_t*1E9)/(loops*ops), (min_t*1E9)/(loops*events));