diff options
| author | luwenpeng <[email protected]> | 2024-10-31 18:26:21 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2024-11-01 15:34:30 +0800 |
| commit | 159ad20ea5df2654b41102bc764bdf7942d53d16 (patch) | |
| tree | 5befa4fea2e5a43137397c7eb23bbcb2e77d18fc /infra/utils_internal.h | |
| parent | 89971d4b0adeb1fc50ae29e9d8f75299070c24e3 (diff) | |
packet manager support output fieldstat
Diffstat (limited to 'infra/utils_internal.h')
| -rw-r--r-- | infra/utils_internal.h | 1 |
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) |
