Skip to content

Commit fc49b8e

Browse files
Conform to LLVM style
1 parent dc7436f commit fc49b8e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

libc/benchmarks/gpu/LibcGpuBenchmark.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,10 @@ benchmark(const BenchmarkOptions &options,
220220
result.samples = samples;
221221

222222
result.total_iterations = estimator.get_iterations();
223-
if (result.total_iterations > 0) {
223+
if (result.total_iterations > 0)
224224
result.total_time = total_time / result.total_iterations;
225-
} else {
225+
else
226226
result.total_time = 0;
227-
}
228227

229228
return result;
230229
}

0 commit comments

Comments
 (0)