2020-08-31 11:34:25 +02:00
|
|
|
from libc.stdint cimport uint32_t, uint8_t
|
2020-09-03 08:53:24 +02:00
|
|
|
from .std_memory cimport shared_ptr
|
2020-08-31 11:34:25 +02:00
|
|
|
|
|
|
|
cdef extern from "rocksdb/statistics.h" namespace "rocksdb":
|
|
|
|
ctypedef enum StatsLevel:
|
|
|
|
kExceptHistogramOrTimers
|
|
|
|
kExceptTimers
|
|
|
|
kExceptDetailedTimers
|
|
|
|
kExceptTimeForMutex
|
|
|
|
kAll
|
|
|
|
|
|
|
|
cdef cppclass Statistics:
|
|
|
|
void set_stats_level(StatsLevel) nogil except+
|
2021-05-21 22:57:22 +02:00
|
|
|
|