Lines Matching refs:iterations
36 // timing and to specify the number of iterations to run.
53 previousN int // number of iterations in the previous run
129 // runN runs a single benchmark for the specified number of iterations.
199 // iterations of this benchmarks should be run.
265 // of benchmark iterations until the benchmark runs for the requested benchtime.
279 // Predict required iterations.
284 // Run more iterations than we think we'll need (1.2x).
297 N int // The number of iterations.
560 grain uint64 // acquire that many iterations from globalN at once
561 cache uint64 // local cache of acquired iterations
562 bN uint64 // total number of iterations to execute (b.N)
565 // Next reports whether there are more iterations to execute.
582 // It creates multiple goroutines and distributes b.N iterations among them.
595 // Calculate grain size as number of iterations that take ~100µs.
606 // so do not do more than 100µs/10ns=1e4 iterations.