perf: release版本减少four_tuple_tostring和selected_chaining_bre的调用
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user