aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/nanobench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/nanobench.cpp')
-rw-r--r--bench/nanobench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index 33d433d9be..5a976e6640 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -397,7 +397,7 @@ static int setup_gpu_bench(Target* target, Benchmark* bench, int maxGpuFrameLag)
// Pretty much the same deal as the calibration: do some warmup to make
// sure we're timing steady-state pipelined frames.
- for (int i = 0; i < maxGpuFrameLag - 1; i++) {
+ for (int i = 0; i < maxGpuFrameLag; i++) {
time(loops, bench, target);
}