Exemplo n.º 1
0
// EnableStatistics enable statistics.
func (opts *Options) EnableStatistics() {
	C.rocksdb_options_enable_statistics(opts.c)
}
Exemplo n.º 2
0
func (o *Options) EnableStatistics() {
	C.rocksdb_options_enable_statistics(o.Opt)
}
Exemplo n.º 3
0
// If enabled, then we should collect metrics about database operations.
// Default: false
func (self *Options) EnableStatistics() {
	C.rocksdb_options_enable_statistics(self.c)
}
Exemplo n.º 4
0
func (o *Options) EnableStatistics(b bool) {
	if b {
		C.rocksdb_options_enable_statistics(o.Opt)
	}
}