Home | History | Annotate | Download | only in tutorial

Lines Matching refs:reps

37    *    which accepts a single 'int reps' parameter.
39 * 'reps' times.
53 @Benchmark void timeNanoTime(int reps) {
54 for (int i = 0; i < reps; i++) {
74 @Benchmark void timeNanoTime(int reps) {
75 for (int i = 0; i < reps; i++) {
79 @Benchmark void timeCurrentTimeMillis(int reps) {
80 for (int i = 0; i < reps; i++) {
94 @Benchmark void timeArrayIteration_BAD(int reps) {
95 for (int i = 0; i < reps; i++) {
122 * already inflated by the cost of an int comparison, "i < reps" as it was.
130 @Benchmark int timeArrayIteration_fixed(int reps) {
132 for (int i = 0; i < reps; i++) {
178 @Benchmark int timeArrayIteration(int reps) {
180 for (int i = 0; i < reps; i++) {