perf: release版本减少four_tuple_tostring和selected_chaining_bre的调用

This commit is contained in:
luwenpeng
2023-11-23 11:04:08 +08:00
parent 81679c4d22
commit 4d630f7298
2 changed files with 20 additions and 12 deletions

View File

@@ -1264,12 +1264,14 @@ uint64_t packet_get_hash(const struct packet *handler, enum ldbc_method method,
return hash_value;
}
#if 0
char *inner_addr_str = two_tuple_tostring(&inner_addr);
char *outer_addr_str = two_tuple_tostring(&outer_addr);
printf("%s: outer_addr: %s, inner_addr: %s, dir: %s, hash_method: %s, hash_value: %lu\n",
LOG_PACKET, outer_addr_str, inner_addr_str, (dir_is_i2e ? "I2E" : "E2I"), ldbc_method_tostring(method), hash_value);
free(inner_addr_str);
free(outer_addr_str);
#endif
return hash_value;
}