summaryrefslogtreecommitdiff
path: root/infra/utils_internal.h
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-10-31 18:26:21 +0800
committerluwenpeng <[email protected]>2024-11-01 15:34:30 +0800
commit159ad20ea5df2654b41102bc764bdf7942d53d16 (patch)
tree5befa4fea2e5a43137397c7eb23bbcb2e77d18fc /infra/utils_internal.h
parent89971d4b0adeb1fc50ae29e9d8f75299070c24e3 (diff)
packet manager support output fieldstat
Diffstat (limited to 'infra/utils_internal.h')
-rw-r--r--infra/utils_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/infra/utils_internal.h b/infra/utils_internal.h
index fba80f8..20ff0a2 100644
--- a/infra/utils_internal.h
+++ b/infra/utils_internal.h
@@ -17,6 +17,7 @@ extern "C"
#define RX_BURST_MAX 32
#define MAX_THREAD_NUM 256 // limit by snowflake
+#define SYNC_STAT_INTERVAL_MS 1000
#define ATOMIC_INC(x) __atomic_fetch_add(x, 1, __ATOMIC_RELAXED)
#define ATOMIC_DEC(x) __atomic_fetch_sub(x, 1, __ATOMIC_RELAXED)