Skip to content

Commit

Permalink
Untabify
Browse files Browse the repository at this point in the history
  • Loading branch information
jabl committed Jun 18, 2015
1 parent f12c6d8 commit bbf2d7f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/perf/micro/perf.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ int main() {
volatile int fibarg = 20; // prevent constant propagation
for (int i=0; i<NITER; ++i) {
t = clock_now();
for (int j = 0; j < 1000; j++)
f += fib(fibarg);
for (int j = 0; j < 1000; j++)
f += fib(fibarg);
t = clock_now()-t;
if (t < tmin) tmin = t;
}
Expand Down Expand Up @@ -294,10 +294,10 @@ int main() {
tmin = INFINITY;
for (int i=0; i<NITER; ++i) {
t = clock_now();
for (int j = 0; j < 100; j++) {
mandel_sum = mandelperf();
mandel_sum2 += mandel_sum;
}
for (int j = 0; j < 100; j++) {
mandel_sum = mandelperf();
mandel_sum2 += mandel_sum;
}
t = clock_now()-t;
if (t < tmin) tmin = t;
}
Expand Down

0 comments on commit bbf2d7f

Please sign in to comment.