Lines Matching defs:rate
58 * Return the rate (iterations/second).
64 double rate = 0.0, prevRate = 0.0;
94 rate = iters / (t1 - t0);
97 perf_printf("prevRate %f rate %f ratio %f iters %u\n",
98 prevRate, rate, rate/prevRate, iters);
102 if (rate > prevRate * 1.6)
104 else if (rate > prevRate * 1.2)
106 else if (rate > prevRate * 1.05)
111 prevRate = rate;
115 perf_printf("%s returning iters %u rate %f\n", __FUNCTION__, subiters, rate);
116 return rate;