Lines Matching defs:bmark
386 dotest0param(benchmark * bmark)
392 bmark->init();
399 bmark->run(0, 1);
422 bmark->init();
425 numelem = bmark->run(0, num);
444 fprintf(stdout, "%s\n%f %s/sec", bmark->name, numelem / (tottime / 3.0),
445 bmark->unit);
447 if (bmark->type == 3)
449 (numelem * bmark->size[0] * (float) bmark->size[0]) /
458 dotest1param(benchmark * bmark)
463 fprintf(stdout, "%s\n", bmark->name);
465 for (j = 0; j < bmark->numsize; j++) {
466 fprintf(stderr, "Current size: %d\n", bmark->size[j]);
469 bmark->init();
476 bmark->run(bmark->size[j], 1);
499 bmark->init();
502 numelem = bmark->run(bmark->size[j], num);
521 fprintf(stdout, "SIZE=%03d => %f %s/sec", bmark->size[j],
522 numelem / (tottime / 3.0), bmark->unit);
523 if (bmark->type == 2)
525 (numelem * bmark->size[j] * bmark->size[j] / 2) /