Feature/scan ip port together support endpoint object
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#define PERF_THREAD_NUM 5
|
||||
#define MAX_scan_times 1000000
|
||||
|
||||
const char *table_info_path = "./benchmark_table_info.conf";
|
||||
const char *g_table_info_path = "./benchmark_table_info.conf";
|
||||
struct log_handle *g_logger = NULL;
|
||||
|
||||
struct thread_param {
|
||||
@@ -547,11 +547,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -639,11 +638,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -731,11 +729,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -824,11 +821,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -917,11 +913,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -1009,12 +1004,11 @@ protected:
|
||||
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -1103,11 +1097,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -1196,11 +1189,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -1289,11 +1281,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -1382,11 +1373,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -1475,11 +1465,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -1567,12 +1556,11 @@ protected:
|
||||
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -1658,11 +1646,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -1748,11 +1735,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -1838,11 +1824,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -1928,11 +1913,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -2018,11 +2002,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -2108,11 +2091,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -2198,11 +2180,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -2287,12 +2268,11 @@ protected:
|
||||
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -2380,12 +2360,11 @@ protected:
|
||||
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -2474,11 +2453,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -2566,12 +2544,11 @@ protected:
|
||||
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -2660,11 +2637,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -2753,11 +2729,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -2846,11 +2821,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -2939,11 +2913,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -3032,10 +3005,9 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -3124,11 +3096,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -3217,11 +3188,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -3310,11 +3280,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -3403,11 +3372,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -3496,11 +3464,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
@@ -3589,11 +3556,10 @@ protected:
|
||||
struct maat_options *opts = maat_options_new();
|
||||
maat_options_set_logger(opts, "./benchmark_rs_gtest.log", LOG_LEVEL_INFO);
|
||||
maat_options_set_iris(opts, "./", "./");
|
||||
maat_options_set_rule_effect_interval_ms(opts, 1000);
|
||||
maat_options_set_caller_thread_number(opts, PERF_THREAD_NUM);
|
||||
maat_options_set_expr_engine(opts, MAAT_EXPR_ENGINE_RS);
|
||||
|
||||
_shared_maat_inst = maat_new(opts, table_info_path);
|
||||
_shared_maat_inst = maat_new(opts, g_table_info_path);
|
||||
maat_options_free(opts);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user