summaryrefslogtreecommitdiff
path: root/test/src/gtest_dynamic_fieldstat_output.cpp
diff options
context:
space:
mode:
authorfumingwei <[email protected]>2023-05-04 17:14:26 +0800
committerfumingwei <[email protected]>2023-05-11 20:20:44 +0800
commite414bbf8a5255b6af6f22a3fd99331aec239c8c8 (patch)
treeff2b8e9d87798bbeee7d0574549aa60f8b6ef81d /test/src/gtest_dynamic_fieldstat_output.cpp
parenta31d2c750f1b3fa2a0b718505ae528232cab19a3 (diff)
feature:1.修改文件输出格式2.新增设置metric ratio和invisible属性接口
Diffstat (limited to 'test/src/gtest_dynamic_fieldstat_output.cpp')
-rw-r--r--test/src/gtest_dynamic_fieldstat_output.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/src/gtest_dynamic_fieldstat_output.cpp b/test/src/gtest_dynamic_fieldstat_output.cpp
index fb066c4..eb694bd 100644
--- a/test/src/gtest_dynamic_fieldstat_output.cpp
+++ b/test/src/gtest_dynamic_fieldstat_output.cpp
@@ -73,9 +73,7 @@ TEST(FeildStatDynamicAPI, FieldStatDynamicInstanceMultiIncrby)
{
int ret = 0;
int n_thread = 64;
- int n_loops = 100000;
-
- long long value = 0;
+ int n_loops = 10000;
const char *column_name[] = {"packages", "bytes"};
enum field_type column_type[] = {FIELD_TYPE_COUNTER, FIELD_TYPE_COUNTER};