diff options
| author | chenzizhan <[email protected]> | 2023-07-12 16:42:14 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2023-07-12 16:42:14 +0800 |
| commit | e11b01481dd8f95768843e800734367b1f8a1733 (patch) | |
| tree | 929bd80148f2fdd5cbb8e26a16ac1c920b6c5fcd /test/profiling | |
| parent | fb80ce28df1fdc9a56474c567cbcee6562403621 (diff) | |
some annotations, small modifications on api(no functional changes)
Diffstat (limited to 'test/profiling')
| -rw-r--r-- | test/profiling/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/profiling/main.c b/test/profiling/main.c index 6dfcb79..44fdc48 100644 --- a/test/profiling/main.c +++ b/test/profiling/main.c @@ -49,7 +49,7 @@ void profiling_counter() int id_added = fieldstat_register_counter(instance, "add"); for (int i = 0; i < ADD_OPER_NUM; i++) { - fieldstat_counter_incrby(instance, id_added, 1, &TEST_TAG_INT, 1); + fieldstat_counter_incrby(instance, 1, id_added, &TEST_TAG_INT, 1); } fieldstat_free(instance); } |
