misalign = 0;
else
misalign += (DO_ALIGNED) ? 16 : 1;
- }
- // Prevent the result from being optimized away
- benchmark::DoNotOptimize(hash);
+ // Prevent the result from being optimized away
+ benchmark::DoNotOptimize(hash);
+ }
}
void TearDown(const ::benchmark::State&) {
misalign = 0;
else
misalign += (DO_ALIGNED) ? 16 : 1;
- }
- // Prevent the result from being optimized away
- benchmark::DoNotOptimize(hash);
+ // Prevent the result from being optimized away
+ benchmark::DoNotOptimize(hash);
+ }
}
void TearDown(const ::benchmark::State&) {
misalign = 0;
else
misalign++;
- }
- // Prevent the result from being optimized away
- benchmark::DoNotOptimize(len);
+ // Prevent the result from being optimized away
+ benchmark::DoNotOptimize(len);
+ }
}
void TearDown(const ::benchmark::State&) {
misalign = 0;
else
misalign++;
- }
- // Prevent the result from being optimized away
- benchmark::DoNotOptimize(len);
+ // Prevent the result from being optimized away
+ benchmark::DoNotOptimize(len);
+ }
}
void TearDown(const ::benchmark::State&) {
fprintf(stderr, "compress() failed with error %d\n", err);
abort();
}
- }
- benchmark::DoNotOptimize(err);
+ // Prevent the result from being optimized away
+ benchmark::DoNotOptimize(err);
+ }
}
void TearDown(const ::benchmark::State&) {
misalign = 0;
else
misalign += (DO_ALIGNED) ? 16 : 1;
- }
- // Prevent the result from being optimized away
- benchmark::DoNotOptimize(hash);
+ // Prevent the result from being optimized away
+ benchmark::DoNotOptimize(hash);
+ }
}
void TearDown(const ::benchmark::State&) {
misalign = 0;
else
misalign += (DO_ALIGNED) ? 16 : 1;
- }
- // Prevent the result from being optimized away
- benchmark::DoNotOptimize(hash);
+ // Prevent the result from being optimized away
+ benchmark::DoNotOptimize(hash);
+ }
}
void TearDown(const ::benchmark::State&) {