示例#1
0
文件: options.go 项目: C0rWin/fabric
// EnableStatistics enable statistics.
func (opts *Options) EnableStatistics() {
	C.rocksdb_options_enable_statistics(opts.c)
}
示例#2
0
func (o *Options) EnableStatistics() {
	C.rocksdb_options_enable_statistics(o.Opt)
}
示例#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)
}
示例#4
0
func (o *Options) EnableStatistics(b bool) {
	if b {
		C.rocksdb_options_enable_statistics(o.Opt)
	}
}