File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ SET(ROCKSDB_SOURCES
41
41
rdb_sst_info.cc rdb_sst_info.h
42
42
rdb_utils.cc rdb_utils.h rdb_buff.h
43
43
rdb_threads.cc rdb_threads.h
44
+ rdb_mariadb_port.h
44
45
${ROCKSDB_LIB_SOURCES}
45
46
)
46
47
Original file line number Diff line number Diff line change
1
+
2
+ #include "atomic_stat.h"
3
+
4
+ /* Struct used for IO performance counters, shared among multiple threads */
5
+ struct my_io_perf_atomic_struct {
6
+ atomic_stat < ulonglong > bytes ;
7
+ atomic_stat < ulonglong > requests ;
8
+ atomic_stat < ulonglong > svc_time ; /*!< time to do read or write operation */
9
+ atomic_stat < ulonglong > svc_time_max ;
10
+ atomic_stat < ulonglong > wait_time ; /*!< total time in the request array */
11
+ atomic_stat < ulonglong > wait_time_max ;
12
+ atomic_stat < ulonglong > slow_ios ; /*!< requests that take too long */
13
+ };
14
+ typedef struct my_io_perf_atomic_struct my_io_perf_atomic_t ;
15
+
16
+
Original file line number Diff line number Diff line change 25
25
#include " ./handler.h"
26
26
#include < my_global.h>
27
27
28
+ #include " rdb_mariadb_port.h"
29
+
28
30
namespace myrocks {
29
31
30
32
enum {
You can’t perform that action at this time.
0 commit comments