testing.PB.grain (field)
6 uses
testing (current package)
benchmark.go#L716: grain uint64 // acquire that many iterations from globalN at once
benchmark.go#L724: n := atomic.AddUint64(pb.globalN, pb.grain)
benchmark.go#L726: pb.cache = pb.grain
benchmark.go#L727: } else if n < pb.bN+pb.grain {
benchmark.go#L728: pb.cache = pb.bN + pb.grain - n
benchmark.go#L776: grain: grain,
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |