Create statistics.pxd
This commit is contained in:
parent
4186979026
commit
2f971e9caa
1 changed files with 13 additions and 0 deletions
13
rocksdb/statistics.pxd
Normal file
13
rocksdb/statistics.pxd
Normal file
|
@ -0,0 +1,13 @@
|
|||
from libc.stdint cimport uint32_t, uint8_t
|
||||
from std_memory cimport shared_ptr
|
||||
|
||||
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+
|
Loading…
Reference in a new issue