🎈 perf(clock_gettime): COARSE to reduce overhead

This commit is contained in:
yangwei
2024-08-01 03:00:27 +08:00
committed by luwenpeng
parent 2ff76d6598
commit a7837d6c93
3 changed files with 5 additions and 5 deletions

View File

@@ -297,7 +297,7 @@ int marsio_io_ingress(struct marsio_io *handle, uint16_t thr_idx, struct packet
}
pkt = &pkts[nr_parsed];
memset(pkt, 0, sizeof(struct packet));
//memset(pkt, 0, sizeof(struct packet));
packet_parse(pkt, data, len);
metadata_from_mbuff_to_packet(mbuff, pkt);
nr_parsed++;