Sign in
fuchsia
/
third_party
/
github.com
/
smartystreets
/
go-disruptor
/
ea700c31de78c5fc0b8ccda4191ccbb104c98bc5
/
.
/
benchmark-disruptor
/
init_test.go
blob: 8d4945bdd53b3dc04e81a6948651955a90c76af8 [
file
] [
log
] [
blame
]
package benchmarks
import "runtime"
const (
RingBufferSize = 1024 * 64
RingBufferMask = RingBufferSize - 1
ReserveOne = 1
ReserveMany = 16
ReserveManyDelta = ReserveMany - 1
)
func init() {
runtime.GOMAXPROCS(2)
}