diff options
| author | luwenpeng <[email protected]> | 2024-11-08 18:19:13 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2024-11-08 18:47:06 +0800 |
| commit | 37c0b1b783f53ba7dab1658315019805bcc415c8 (patch) | |
| tree | e6a29d30676dd051493182be8ef7279472aa2cb1 /platform/src/packet_adapter.cpp | |
| parent | 4f48b59b703c4ab40b655e7f79b581b462da0440 (diff) | |
PacketAdapter移除FieldStat2,为适配AArch64做准备
Diffstat (limited to 'platform/src/packet_adapter.cpp')
| -rw-r--r-- | platform/src/packet_adapter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/src/packet_adapter.cpp b/platform/src/packet_adapter.cpp index 6fa94f0..3075c81 100644 --- a/platform/src/packet_adapter.cpp +++ b/platform/src/packet_adapter.cpp @@ -227,8 +227,8 @@ int main(int argc, char **argv) while (!runtime->need_stop) { - packet_stat_output(runtime->stat, &runtime->metrics); - sleep(packet_stat_cycle(runtime->stat)); + packet_stat_flush(runtime->stat, &runtime->metrics); + sleep(1); } error: |
